-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
134 lines (134 loc) · 4.51 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "pwa",
"version": "0.0.0",
"description": "A production grade progressive web app",
"author": "Lakshya Ranganath <[email protected]>",
"keywords": [
"pwa",
"react",
"redux",
"universal",
"server side rendering",
"service worker",
"boilerplate",
"jest"
],
"main": "server/index.js",
"scripts": {
"start": "npm run local",
"stop": "pm2 delete pm2.json",
"prelocal": "mkdir -p ./build/server/ && touch ./build/server/index.js",
"local": "PWA_ENV=local PWA_PUBLIC_PATH=http://localhost:8080/build/client/ PWA_SSR=false NODE_ENV=development PORT=8000 webpack-dashboard -- run-p local:*",
"local:client": "webpack-dev-server --config ./webpack.client.js --hot",
"local:server": "webpack --config ./webpack.server.js --watch",
"local:serve": "pm2 start pm2.json --only pwa-local",
"postlocal": "npm stop",
"development": "npm install && run-s development:*",
"development:build": "PWA_ENV=development PWA_PUBLIC_PATH=/build/client/ NODE_ENV=production run-s build:*",
"development:start": "PWA_SSR=true NODE_ENV=production PORT=1337 pm2 start pm2.json --only pwa",
"staging": "npm install && run-s staging:*",
"staging:build": "PWA_ENV=staging PWA_PUBLIC_PATH=//staging.cdn.com/build/client/ NODE_ENV=production run-s build:*",
"staging:start": "PWA_SSR=true NODE_ENV=production PORT=1337 pm2 start pm2.json --only pwa",
"production": "npm install && run-s production:*",
"production:build": "PWA_ENV=production PWA_PUBLIC_PATH=//production.cdn.com/build/client/ NODE_ENV=production run-s build:*",
"production:start": "PWA_SSR=true NODE_ENV=production PORT=1337 pm2 start pm2.json --only pwa",
"build:client": "webpack --config ./webpack.client.js --progress",
"build:server": "webpack --config ./webpack.server.js --progress",
"lint": "run-p lint:*",
"lint:eslint": "eslint .",
"lint:stylelint": "stylelint '**/*.css'",
"test": "NODE_ENV=test jest",
"precommit": "lint-staged && npm run test",
"pm2": "pm2"
},
"lint-staged": {
"*.js": ["eslint"],
"*.css": ["stylelint"]
},
"license": "MIT",
"devDependencies": {
"babel-core": "6.26.0",
"babel-eslint": "8.0.3",
"babel-jest": "21.2.0",
"babel-loader": "7.1.2",
"babel-plugin-transform-react-remove-prop-types": "0.4.10",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"css-loader": "0.28.7",
"eslint": "4.13.1",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.5.1",
"file-loader": "1.1.5",
"husky": "0.14.3",
"jest": "21.2.1",
"lint-staged": "6.0.0",
"npm-run-all": "4.1.2",
"pm2": "2.8.0",
"postcss-cssnext": "2.11.0",
"postcss-import": "10.0.0",
"postcss-loader": "1.3.3",
"postcss-url": "7.0.0",
"rimraf": "2.6.2",
"style-loader": "0.19.0",
"stylelint": "8.3.1",
"stylelint-config-standard": "18.0.0",
"url-loader": "0.6.2",
"webpack-dev-server": "2.9.7"
},
"dependencies": {
"assets-webpack-plugin": "3.5.1",
"babel-polyfill": "6.26.0",
"classnames": "2.2.5",
"clean-webpack-plugin": "0.1.17",
"compression": "1.7.1",
"connect-slashes": "1.3.1",
"copy-webpack-plugin": "4.2.3",
"express": "4.16.2",
"extract-css-chunks-webpack-plugin": "2.0.18",
"helmet": "3.9.0",
"isomorphic-fetch": "2.2.1",
"lodash": "4.17.4",
"moment": "2.19.4",
"morgan": "1.9.0",
"nock": "9.1.4",
"normalize.css": "7.0.0",
"preact": "8.2.7",
"preact-compat": "3.17.0",
"prop-types": "15.6.0",
"query-string": "5.0.1",
"react": "15.6.1",
"react-dom": "15.6.1",
"react-helmet": "5.2.0",
"react-loadable": "5.3.1",
"react-redux": "5.0.6",
"react-router": "3.0.2",
"redux": "3.7.2",
"redux-connect": "5.1.0",
"redux-mock-store": "1.3.0",
"redux-pack": "0.1.5",
"redux-thunk": "2.2.0",
"sw-precache-webpack-plugin": "0.11.4",
"webpack": "3.6.0",
"webpack-bundle-analyzer": "2.9.1",
"webpack-dashboard": "1.0.2",
"webpack-node-externals": "1.6.0"
},
"jest": {
"globals": {
"__BROWSER__": false,
"__PWA_ENV__": "local",
"__LOCAL__": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/lakshyaranganath/pwa.git"
},
"bugs": {
"url": "https://github.com/lakshyaranganath/pwa/issues"
},
"homepage": "https://github.com/lakshyaranganath/pwa#readme"
}