-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.92 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
{
"name": "prediction-party",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/webpack": "^3.8.5",
"@types/webpack-env": "^1.13.5",
"body-parser": "^1.15.2",
"cookie-parser": "^1.4.3",
"cors": "^2.8.1",
"express": "^4.14.0",
"express-session": "^1.14.2",
"passport": "^0.4.0",
"passport-slack": "0.0.7",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"sqlite": "^2.9.1",
"sqlite3": "^3.1.13",
"styled-components": "^3.1.6",
"styled-flex-component": "^2.2.0"
},
"optionalDependencies": {
"fsevents": "^1.1.3"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.1",
"@types/express": "^4.11.1",
"@types/express-session": "^1.15.7",
"@types/jest": "^22.1.1",
"@types/node": "^8.9.1",
"@types/passport": "^0.4.2",
"@types/react": "^16.0.36",
"@types/react-dom": "^16.0.3",
"@types/sqlite3": "^3.1.1",
"concurrently": "^3.5.1",
"moment": "^2.17.1",
"nodemon": "^1.14.12",
"react-scripts-ts": "2.13.0",
"ts-node": "^4.1.0",
"tslint-config-prettier": "^1.7.0",
"typescript": "^2.7.1",
"whatwg-fetch": "^2.0.1"
},
"scripts": {
"build": "npm run build-client && npm run build-server",
"build-client": "react-scripts-ts build && sw-precache --config=sw-precache-config.js && uglifyjs build/service-worker.js >build/service-worker.js.ugly && mv build/service-worker.js.ugly build/service-worker.js && rm -rf build-client && mv build build-client",
"build-server": "tsc -p ./backend",
"dev": "concurrently 'npm run dev-client' 'npm run dev-server'",
"dev-client": "react-scripts-ts start",
"dev-server": "sh -ac '. .env && DEV_MODE=1 nodemon --exec ./node_modules/.bin/ts-node -- -P backend ./backend/index.ts'",
"server": "node ./backend/build/index.js",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject"
},
"proxy": "http://localhost:3001"
}