-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
56 lines (56 loc) · 1.71 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": "minesweeper",
"description": "Your favorite Minesweeper game made as a progressive web app with CSS Grid, React, and a Twitter-powered scoreboard.",
"homepage": "https://minesweeper.now.sh",
"license": "MIT",
"version": "1.0.0",
"dependencies": {
"compression": "^1.6.2",
"connect-ensure-login": "^0.1.1",
"express": "^4.14.1",
"express-session": "^1.15.6",
"mongoose": "^5.0.0-rc0",
"mongoose-paginate": "^5.0.3",
"passport": "^0.4.0",
"passport-twitter": "^1.0.4",
"request": "^2.79.0",
"session-memory-store": "^0.2.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.6.x",
"babel-preset-env": "^1.6.1",
"babel-watch": "^2.0.7",
"concurrently": "^3.5.1",
"intersection-observer": "^0.5.0",
"react": "^16.2.0",
"react-app-rewired": "^1.4.0",
"react-dom": "^16.2.0",
"react-ga": "^2.4.0",
"react-intersection-observer": "^3.0.0",
"react-scripts": "1.0.17",
"styled-components": "^2.4.0"
},
"proxy": {
"/": {
"target": "http://localhost:8081",
"pathRewrite": {
"^/proxy": ""
},
"changeOrigin": true
}
},
"scripts": {
"build": "react-app-rewired build && cp ./.env.prod.json ./build && NODE_ENV=production npx babel --out-file ./build/server.js < ./src/server.js --presets=env",
"deploy": "yarn build && now -e NODE_ENV=\"production\" && now alias && now scale minesweeper.now.sh 1 1",
"now-build": "true",
"now-start": "PORT=8081 NODE_ENV=production node build/server.js",
"server": "PORT=8081 babel-watch ./src/server.js",
"start": "concurrently \"react-scripts start\" \"yarn server\""
},
"babel": {
"presets": [
"env"
]
}
}