-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"dependencies": {
"firebase-admin": "^12.5.0",
"firebase-functions": "^6.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.13",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.30.0",
"firebase-functions-test": "^3.3.0",
"jest": "^29.7.0",
"parcel": "^2.12.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"setupFilesAfterEnv": [
"<rootDir>/loadEnv.cjs"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$"
},
"main": "lib/index.js",
"name": "functions",
"private": true,
"scripts": {
"build": "parcel build --no-content-hash",
"build:watch": "parcel watch",
"deploy": "firebase deploy --only functions",
"lint": "eslint --ext .js,.ts .",
"logs": "firebase functions:log",
"migrate": "ts-node scripts/migrate.ts",
"serve": "npm run build && firebase emulators:start --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"test": "FIRESTORE_EMULATOR_HOST=\"127.0.0.1:9090\" FIREBASE_AUTH_EMULATOR_HOST=\"127.0.0.1:9099\" jest",
"test:emulators": "firebase emulators:exec \"jest --watchAll\""
},
"source": "src/index.ts"
}