-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.7 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
{
"name": "mission5",
"version": "0.1.0",
"private": true,
"dependencies": {
"@metamodules/postgres": "^1.2.1",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"deploy-node-app": "^1.4.3",
"dotenv": "^8.6.0",
"express": "^4.18.2",
"mongodb": "^6.0.0",
"mongoose": "^7.5.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.1"
},
"devDependencies": {
"babel-eslint": "10.0.1",
"concurrently": "^4.1.0",
"cross-spawn": "^6.0.5",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"nodemon": "^1.19.1",
"prettier": "^1.17.1"
},
"scripts": {
"start": "node server.js",
"build": "react-scripts build",
"deploy": "deploy-node-app",
"test": "react-scripts test",
"eject-www": "react-scripts eject",
"psql": "export $(cat .env | xargs) && PGPASSWORD=${POSTGRES_PASSWORD} psql -h ${POSTGRES_SERVICE_HOST} -p ${POSTGRES_SERVICE_PORT} -U ${POSTGRES_USER} ${POSTGRES_DB}"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"deploy-node-app": {
"prod": {
"port": 4000,
"protocol": "http",
"entrypoint": "src/api/index.js",
"type": "spa"
},
"dev": {
"port": 4000,
"protocol": "http",
"entrypoint": "src/api/index.js",
"registry": "",
"type": "spa",
"isPublic": false
}
},
"proxy": "http://localhost:4000"
}