forked from whilelucky/pwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 4.54 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
{
"name": "pwa",
"version": "0.0.0",
"description": "An opinionated progressive web app boilerplate",
"author": "Lakshya Ranganath <[email protected]>",
"keywords": [
"pwa",
"react",
"redux",
"universal",
"boilerplate",
"server side rendering",
"service worker",
"jest",
"tests"
],
"main": "server/index.js",
"scripts": {
"start": "npm run local",
"stop": "pm2 delete pm2.json && rimraf npm-debug.log* babel_cache",
"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 --no-optional && 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 --no-optional && 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 --ignore-path .gitignore .",
"lint:stylelint": "stylelint ./client/**/*.css",
"test": "NODE_ENV=test jest",
"pm2": "pm2"
},
"pre-commit": "lint, test",
"license": "MIT",
"devDependencies": {
"babel-core": "6.25.0",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.1.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.6",
"babel-preset-env": "1.5.2",
"babel-preset-react": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"css-loader": "0.28.4",
"eslint": "3.19.0",
"eslint-config-airbnb": "15.0.1",
"eslint-plugin-import": "2.6.0",
"eslint-plugin-jsx-a11y": "5.0.3",
"eslint-plugin-react": "7.1.0",
"file-loader": "0.11.2",
"isomorphic-style-loader": "2.0.0",
"jest": "20.0.4",
"npm-run-all": "4.0.2",
"pm2": "2.5.0",
"postcss-loader": "1.3.3",
"rimraf": "2.6.1",
"style-loader": "0.18.2",
"stylelint": "7.12.0",
"stylelint-config-standard": "16.0.0",
"url-loader": "0.5.9",
"webpack-dev-server": "2.5.0"
},
"dependencies": {
"assets-webpack-plugin": "3.5.1",
"babel-polyfill": "6.23.0",
"classnames": "2.2.5",
"clean-webpack-plugin": "0.1.16",
"compression": "1.6.2",
"connect-slashes": "1.3.1",
"copy-webpack-plugin": "4.0.1",
"express": "4.15.3",
"extract-text-webpack-plugin": "2.1.2",
"helmet": "3.6.1",
"isomorphic-fetch": "2.2.1",
"lodash": "4.17.4",
"moment": "2.18.1",
"morgan": "1.8.2",
"nock": "9.0.13",
"normalize.css": "7.0.0",
"postcss-cssnext": "2.11.0",
"postcss-import": "10.0.0",
"postcss-url": "7.0.0",
"preact": "8.1.0",
"preact-compat": "3.16.0",
"prop-types": "15.5.10",
"query-string": "4.3.4",
"react": "15.6.1",
"react-dom": "15.6.1",
"react-helmet": "5.1.3",
"react-redux": "5.0.5",
"react-router": "3.0.2",
"redux": "3.7.1",
"redux-connect": "5.1.0",
"redux-mock-store": "1.2.3",
"redux-pack": "0.1.5",
"redux-thunk": "2.2.0",
"sw-precache-webpack-plugin": "0.11.3",
"webpack": "3.0.0",
"webpack-bundle-analyzer": "2.8.2",
"webpack-dashboard": "0.4.0",
"webpack-node-externals": "1.6.0"
},
"optionalDependencies": {
"pre-commit": "1.2.2"
},
"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"
}