-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.49 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.49 KB
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
{
"name": "global-upvote",
"description": "Top voted stories across the web, summarized and updated every sixty seconds.",
"homepage": "https://upvoted.mybluemix.net",
"version": "1.0.0",
"private": true,
"proxy": "http://localhost:8081",
"dependencies": {
"compression": "^1.7.0",
"express": "^4.15.4",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"snoowrap": "^1.14.2",
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-watch": "^2.0.7",
"concurrently": "^3.5.0",
"detect-browser": "^1.10.0",
"husky": "^0.14.3",
"lint-staged": "^4.0.4",
"prettier": "^1.6.1",
"prop-types": "^15.5.10",
"react-ga": "^2.2.0",
"react-masonry-component": "^5.0.7",
"react-scripts": "1.0.11",
"styled-components": "^2.1.2"
},
"scripts": {
"build": "react-scripts build && cp ./keys.json ./build && NODE_ENV=production babel server.js -d build",
"deploy": "yarn build && now -e NODE_ENV=\"production\" && now alias && now scale globalupvote.now.sh 1 1",
"now-build": "true",
"now-start": "PORT=8081 NODE_ENV=production node build/server.js",
"precommit": "lint-staged && git add",
"start": "concurrently \"PORT=8080 react-scripts start\" \"PORT=8081 babel-watch server.js\""
},
"babel": {
"presets": [
"es2015",
"stage-2"
]
},
"lint-staged": {
"*.js": [
"prettier --write"
]
}
}