-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 1.16 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
{
"name": "firebase-full-stack-starter",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"install-all": "cd ./functions/src && npm install",
"build": "cd ./functions/src && npm run build",
"lint": "cd ./functions/src && npm run format && npm run lint",
"inject:dev": "cross-env NODE_ENV=dev node injectConfig.js && cross-env NODE_ENV=default node injectConfig.js",
"deploy:dev": "cross-env NODE_ENV=dev node injectConfig.js && cd ./functions/src && npm run build && cd ../../ && npm run deployStart && cross-env NODE_ENV=default node injectConfig.js",
"deployStart": "firebase deploy --only functions:onMySchedule",
"lint-react": "cd ./react-frontend && npm run format && npm run lint",
"deploy:react-frontend": "firebase deploy --only hosting:react-frontend",
"deploy:react-frontend:dev": "cd ./react-frontend && npm run build && cd .. && npm run deploy:react-frontend"
},
"dependencies": {
"cross-env": "^7.0.3"
},
"devDependencies": {
"husky": "^6.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run lint-react"
}
}
}