-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 4.11 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 4.11 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
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
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "Example-Website",
"version": "1.0.0",
"description": "",
"scripts": {
"check:node": "check-node-version --package",
"prebuild": "rm -rf node_modules/.cache && bin/buildStatic.sh",
"build": "yarn build:server && yarn build:client",
"build:client": "yarn prebuild && next build",
"build:server": "neutrino build",
"test": "yarn run lint && yarn build",
"dev": "yarn run prebuild && neutrino start",
"start": "NODE_ENV=production node build/server.js",
"deploy:dev": "cp deployment/development.json now.json && now deploy --team=zdev && now alias --team=zdev",
"deploy:prod": "cp deployment/production.json now.json && now deploy --team=zdev && now alias --team=zdev",
"deploy:ci:dev": "cp deployment/development.json now.json && now deploy --token=$NOW_TOKEN --team=zdev && now alias --token=$NOW_TOKEN --team=zdev",
"deploy:ci:prod": "cp deployment/production.json now.json && now deploy --token=$NOW_TOKEN --team=zdev && now alias --token=$NOW_TOKEN --team=zdev",
"postinstall": "yarn run check:node",
"lint:watch": "nodemon --watch ./ --exec \"yarn run lint:without:prettier\"",
"lint": "eslint ./data ./common ./pages ./components ./styles ./redux ./server server.js",
"lint:without:prettier": "yarn run lint:js -- --rule 'prettier/prettier: 0'",
"format:js": "prettier --single-quote --trailing-comma all --no-semi --print-width 180 --write \"{{components,pages,styles,redux,server,common,data}/**/*.js,server.js}\"",
"precommit": "lint-staged && yarn run lint",
"eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
"spellcheck": "yarn run spellcheck:interactive -- -r",
"spellcheck:base": "mdspell --ignore-numbers",
"spellcheck:interactive": "yarn run spellcheck:base -- '**/*.md' '!_book/**/*.md' '!**/node_modules/**/*.md'"
},
"license": "ISC",
"dependencies": {
"@neutrinojs/node": "8.1.1",
"autoprefixer": "6.7.6",
"babel-plugin-module-resolver": "2.5.0",
"babel-plugin-styled-components": "^1.1.5",
"babel-plugin-transform-define": "^1.3.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-wrap-in-js": "^1.1.0",
"body-parser": "^1.18.3",
"check-node-version": "^2.1.0",
"circleci": "^0.3.3",
"glob": "7.1.1",
"http": "^0.0.0",
"markdown-spellcheck": "^1.3.1",
"moment": "^2.18.1",
"neutrino": "^8.3.0",
"next": "^4.2.3",
"next-redux-wrapper": "1.3.5",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-loading": "^2.0.3",
"react-modal": "^2.2.1",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-freeze": "^0.1.5",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect-change-memoize": "^1.1.0",
"socket.io": "^2.1.1",
"socket.io-client": "^2.1.1",
"styled-components": "^2.1.5"
},
"devDependencies": {
"babel-core": "^6.22.1",
"babel-eslint": "7.1.1",
"babel-plugin-root-import": "^5.1.0",
"babel-plugin-transform-class-properties": "6.22.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "6.22.0",
"babel-preset-react-hmre": "1.1.1",
"cross-env": "^5.0.1",
"eslint": "^3.14.1",
"eslint-config-airbnb": "14.0.0",
"eslint-config-prettier": "^1.7.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "3.0.2",
"eslint-plugin-prettier": "^2.0.1",
"eslint-plugin-react": "6.9.0",
"husky": "^0.14.3",
"lint-staged": "^3.4.0",
"ncp": "^2.0.0",
"nodemon": "^1.11.0",
"now": "^16.7.0",
"prettier": "^1.2.2",
"recursive-readdir-sync": "^1.0.6",
"sharp": "^0.20.5",
"stylefmt": "^5.3.2",
"stylelint": "^7.10.1",
"stylelint-config-standard": "^16.0.0",
"stylelint-processor-styled-components": "^0.1.2"
},
"engines": {
"node": "10"
},
"lint-staged": {
"{{components,pages,styles,redux,server,common,data}/**/*.js,server.js}": [
"prettier --single-quote --trailing-comma all --no-semi --print-width 180 --write",
"git add"
],
"*.md": [
"yarn run spellcheck",
"git add"
]
}
}