-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
77 lines (77 loc) · 2.78 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "koa-react-spa",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:8082",
"scripts": {
"prestart": "echo -e \"⛳️ Running Koa Client-Server Application -\\033[1m Development \\033[0m\"",
"start": "concurrently 'yarn run start:client' 'yarn run start:server'",
"prestart:prod": "echo -e \"⛳️ Running Koa Client-Server Application -\\033[1m Production \\033[0m\"",
"start:prod": "concurrently 'yarn run build:client' 'yarn run start:server-prod'",
"start:client": "react-app-rewired start",
"build:client": "react-app-rewired build",
"build": "concurrently 'yarn run build:client' 'yarn run build:server'",
"test": "react-app-rewired test",
"eject": "react-scripts eject",
"build:server": "rimraf ./server/dist && TS_NODE_PROJECT=\"./server/tsconfig.json\" webpack --config ./server/webpack.config.ts",
"build:server-watch": "rimraf ./server/dist && NODE_ENV=development TS_NODE_PROJECT=\"./server/tsconfig.json\" webpack --config ./server/webpack.config.ts --watch",
"start:server-prod": "concurrently 'yarn run build:server' 'wait-on ./server/dist/server.bundle.js && node ./server/dist/server.bundle.js'",
"prestart:server": "echo '📦 Bundling server & running'",
"start:server": "concurrently 'yarn run build:server-watch' 'wait-on ./server/dist/server.bundle.js && DEBUG=koa* NODE_DEBUG=request nodemon --inspect ./server/dist/server.bundle.js'"
},
"dependencies": {
"@emotion/core": "^10.0.17",
"@emotion/styled": "^10.0.17",
"@types/jest": "24.0.18",
"@types/node": "^12.7.4",
"@types/react": "16.9.2",
"@types/react-dom": "16.9.0",
"chalk": "^2.4.2",
"figlet": "^1.2.4",
"koa": "^2.8.1",
"koa-body": "^4.1.1",
"koa-cookie": "^1.0.0",
"koa-morgan": "^1.0.1",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"koa-useragent": "^2.0.0",
"path": "^0.12.7",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-scripts": "3.1.1",
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"typescript": "3.5.3",
"winston": "^3.2.1"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/webpack": "^4.39.1",
"@types/webpack-env": "^1.14.0",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^4.1.2",
"nodemon": "^1.19.2",
"react-app-rewired": "^2.1.3",
"rimraf": "^3.0.0",
"ts-loader": "^6.0.4",
"ts-node": "^8.3.0",
"wait-on": "^3.3.0",
"webpack-cli": "^3.3.8",
"yarn": "^1.17.3"
}
}