-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
47 lines (47 loc) · 1.76 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
{
"name": "bitcoin-message",
"version": "0.1.0",
"private": true,
"dependencies": {
"@firebase/app": "^0.3.4",
"@firebase/database": "^0.3.6",
"mobx": "^3.3.1",
"mobx-react": "^4.3.4",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"react-ga": "^2.3.5",
"react-router-dom": "^4.2.2",
"react-scripts-ts": "2.8.0"
},
"scripts": {
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-scripts-ts start",
"build-js": "react-scripts-ts build",
"start": "npm-run-all -p watch-css start-js",
"server": "npm-run-all -p start server:api",
"server:staging": "REACT_APP_CONFIG_ENV=staging yarn start",
"server:live": "REACT_APP_CONFIG_ENV=live yarn start",
"server:api": "(cd ./functions && yarn server)",
"build": "npm-run-all build-css build-js",
"build:staging": "REACT_APP_CONFIG_ENV=staging yarn build",
"build:live": "REACT_APP_CONFIG_ENV=live yarn build",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject",
"deploy:staging": "firebase use staging && (cd ./functions && yarn build) && yarn build:staging && firebase deploy; yarn postdeploy",
"deploy:live": "firebase use live && (cd ./functions && yarn build) && yarn build:live && firebase deploy; yarn postdeploy",
"postdeploy": "firebase use staging"
},
"devDependencies": {
"@types/enzyme": "^3.1.5",
"@types/jest": "^21.1.6",
"@types/node": "^8.0.53",
"@types/react": "^16.0.25",
"@types/react-dom": "^16.0.3",
"@types/react-router-dom": "^4.2.1",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.2"
}
}