-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.31 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
{
"name": "functions",
"description": "TypeScript sample Cloud Functions for Firebase",
"dependencies": {
"@types/jest": "^22.2.3",
"firebase-admin": "^5.12.0",
"firebase-functions": "^1.0.2",
"firebase-functions-test": "^0.1.2"
},
"devDependencies": {
"@types/express": "^4.0.37",
"@types/sinon": "^4.3.1",
"jest": "^22.4.3",
"sinon": "^5.0.2",
"ts-jest": "^22.4.4",
"tslint": "^5.8.0",
"typescript": "^2.6.1"
},
"scripts": {
"lint": "./node_modules/.bin/tslint -p tsconfig.json",
"build": "./node_modules/.bin/tsc",
"serve": "npm run build && firebase serve --only functions",
"shell": "npm run build && firebase experimental:functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log",
"test": "jest --watch"
},
"main": "src/index.js",
"private": true,
"jest": {
"verbose": true,
"setupFiles": [
"<rootDir>/test/jest-setup.js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.ts"
]
}
}