generated from anontyro/base-react-express-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.01 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "full-stack-ts",
"version": "0.1.0",
"private": true,
"dependencies": {
"@overnightjs/core": "^1.6.15",
"@overnightjs/logger": "^1.1.10",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.0",
"@types/react-redux": "^7.1.7",
"@types/redux": "^3.6.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-formidable": "^1.2.0",
"express-jwt": "^5.3.1",
"http-status-codes": "^1.4.0",
"jsonwebtoken": "^8.5.1",
"lodash.throttle": "^4.1.1",
"mysql": "^2.18.1",
"pg": "^7.18.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-modal": "^3.11.2",
"react-redux": "^7.2.0",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"reflect-metadata": "^0.1.13",
"styled-components": "^5.0.1",
"typeorm": "^0.2.24",
"typescript": "~3.7.2"
},
"scripts": {
"start:client": "npm run watch:css && react-scripts start",
"start:server": "nodemon",
"start": "run-p start:client start:server",
"build": "npm run build:clean && npm run copyEnv && npm run build:client && npm run build:server",
"build:client": "npm run build:css && react-scripts build",
"build:server": "npx tsc -p tsconfig.server.json && cp -rf ./server/static ./build/",
"prod:server": "NODE_ENV=production node ./build/start.js",
"build:clean": "rm -rf build && mkdir build",
"copyEnv": "cp .env ./build",
"docker:build": "npm run build:clean && npm run build:client && npm run build:server",
"test": "react-scripts test",
"test:server": "react-scripts test --roots server/ --testMatch '**/*.test.ts' ",
"eject": "react-scripts eject",
"build:css": "postcss src/assets/tailwind.css -o src/assets/main.css",
"watch:css": "postcss src/assets/tailwind.css -o src/assets/main.css",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix"
},
"proxy": "http://localhost:3001",
"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/express": "^4.17.3",
"@types/express-formidable": "^1.0.4",
"@types/jsonwebtoken": "^8.3.9",
"@types/lodash.throttle": "^4.1.6",
"@types/react-modal": "^3.10.5",
"@types/react-router-dom": "^5.1.3",
"@types/styled-components": "^5.0.1",
"autoprefixer": "^9.7.4",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"postcss-cli": "^7.1.0",
"prettier": "^1.19.1",
"tailwindcss": "^1.3.5",
"ts-node": "^8.6.2"
}
}