-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
175 lines (175 loc) · 6.45 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "webpack2-boilerplate",
"version": "0.0.1",
"description": "A boilerplate for latest EcmaScript using Webpack and PostCSS.",
"author": "Leif Olsen <leif.o.olsen.at.gmail.com> (https://github.com/leifoolsen)",
"main": "webpack.config.babel.js",
"engineStrict": true,
"engines": {
"node": ">=6",
"npm": ">=3"
},
"repository": {
"type": "git",
"url": "https://github.com/leifoolsen/webpack2-boilerplate.git"
},
"browserslist": [
"last 2 versions",
"ie >= 11"
],
"dependencies": {
"@hyperapp/router": "0.4.1",
"babel-polyfill": "6.26.0",
"harmony-reflect": "1.5.1",
"hyperapp": "1.1.2",
"intl": "1.2.5",
"moment": "2.20.1",
"whatwg-fetch": "2.0.3"
},
"devDependencies": {
"add-asset-html-webpack-plugin": "2.1.2",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.1",
"babel-loader": "7.1.2",
"babel-plugin-__coverage__": "11.0.0",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-react-jsx": "6.24.1",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.6.1",
"babel-register": "6.26.0",
"body-parser": "1.18.2",
"browserslist": "3.1.0",
"chai": "4.1.2",
"chalk": "2.3.1",
"compression": "1.7.1",
"connect-history-api-fallback": "1.5.0",
"copy-webpack-plugin": "4.4.1",
"core-js": "2.5.3",
"cors": "2.8.4",
"cross-env": "5.1.3",
"css-loader": "0.28.9",
"cssnano": "3.10.0",
"cucumber": "4.0.0",
"eslint": "4.18.0",
"eslint-loader": "1.9.0",
"eslint-plugin-compat": "2.2.0",
"eslint-plugin-import": "^2.8.0",
"exports-loader": "0.7.0",
"express": "4.16.2",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.6",
"html-loader": "0.5.5",
"html-webpack-plugin": "2.30.1",
"http-proxy-middleware": "0.17.4",
"http-server": "0.11.1",
"husky": "0.14.3",
"ignore-styles": "5.0.1",
"import-fresh": "2.0.0",
"imports-loader": "0.7.1",
"ip": "1.1.5",
"istanbul": "1.1.0-alpha.1",
"jsdom": "11.6.2",
"material-design-icons": "3.0.1",
"mocha": "5.0.1",
"nconf": "0.10.0",
"node-http-ping": "0.2.2",
"node-sass": "4.7.2",
"normalize.css": "8.0.0",
"npm-run-all": "4.1.2",
"postcss": "6.0.19",
"postcss-browser-reporter": "0.5.0",
"postcss-css-variables": "0.8.0",
"postcss-cssnext": "3.1.0",
"postcss-hexrgba": "1.0.0",
"postcss-import": "11.1.0",
"postcss-loader": "2.1.0",
"postcss-mixins": "6.2.0",
"postcss-reporter": "5.0.0",
"postcss-url": "7.3.0",
"raw-loader": "0.5.1",
"resolve-url-loader": "2.2.1",
"rimraf": "2.6.2",
"roboto-fontface": "0.9.0",
"sass-loader": "6.0.6",
"selenium-standalone": "6.12.0",
"sinon": "4.3.0",
"start-server-webpack-plugin": "2.2.1",
"style-loader": "0.20.2",
"stylelint": "9.0.0",
"stylelint-config-css-modules": "1.2.0",
"stylelint-config-standard": "18.1.0",
"stylelint-webpack-plugin": "0.10.2",
"supertest": "3.0.0",
"url-loader": "0.6.2",
"wdio-cucumber-framework": "1.1.0",
"wdio-mocha-framework": "0.5.12",
"wdio-selenium-standalone-service": "0.0.9",
"wdio-spec-reporter": "0.1.3",
"webdriverio": "4.10.2",
"webpack": "3.11.0",
"webpack-bundle-size-analyzer": "2.7.0",
"webpack-dev-middleware": "2.0.5",
"webpack-hot-middleware": "2.21.0",
"webpack-node-externals": "1.6.0",
"winston": "2.4.0"
},
"keywords": [
"Webpack3",
"Webpack",
"JavaScript",
"es6",
"es2015",
"es2016",
"es2017",
"Babel",
"SASS",
"Mocha",
"Chai",
"Istanbul",
"Node Express",
"Winston",
"nconf",
"Cucumber",
"WebdriverIO",
"HyperApp",
"PostCSS"
],
"license": "MIT",
"scripts": {
"clean": "rimraf dist rimraf coverage",
"setup": "npm run clean && npm run build:dll",
"postsetup": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 selenium-standalone install",
"validate": "npm-run-all lint test:unit",
"analyze": "webpack --env.prod --json | webpack-bundle-size-analyzer",
"precommit": "npm run lint",
"lint": "npm-run-all lint:*",
"lint:stylelint": "stylelint \"./src/**/*.css\" && stylelint \"./src/**/*.s?(a|c)ss\" --syntax scss",
"lint:eslint": "eslint ./src ./server ./test --max-warnings 10",
"build:dll": "webpack --config webpack.config.dll.js",
"prebuild": "npm-run-all clean lint build:dll && npm run coverage:unit -- --env.dev",
"postbuild": "npm run coverage:it -- --env.dev && npm-run-all coverage:report check:coverage",
"build": "webpack --progress",
"prebuild:prod": "npm-run-all clean lint && npm run coverage:unit -- --env.prod",
"postbuild:prod": "npm run coverage:it -- --env.prod && npm-run-all coverage:report check:coverage",
"build:prod": "cross-env NODE_ENV=production webpack --progress",
"coverage:unit": "cross-env NODE_ENV=test istanbul cover --root ./src --dir ./coverage/unit _mocha -- --opts ./mocha.opts \"./test/unit/**/*.spec.js\"",
"coverage:it": "cross-env NODE_ENV=test istanbul cover --root ./src --dir ./coverage/integration _mocha -- --opts ./mocha.opts \"./test/integration/**/*.spec.js\"",
"coverage:report": "istanbul report --root ./coverage --include **/coverage.raw.json lcov html",
"check:coverage": "istanbul check-coverage --root ./coverage --statements 50 --branches 50 --functions 50 --lines 50",
"test": "npm-run-all test:unit test:it",
"test:unit": "cross-env NODE_ENV=test mocha --opts ./mocha.opts \"./test/unit/**/*.spec.js\"",
"test:it": "cross-env NODE_ENV=test mocha --opts ./mocha.opts \"./test/integration/**/*.spec.js\"",
"test:watch": "npm run test:unit -- --watch",
"test:single": "cross-env NODE_ENV=test mocha --watch --opts ./mocha.opts",
"test:pattern": "npm run test:single -- --grep $pattern \"./test/unit/**/*.spec.js\"",
"test:proxy-example": "cross-env NODE_ENV=test mocha --env.dev --proxy --opts ./mocha.opts \"./test/integration/proxy/proxy-example.js\"",
"wdio": "cross-env NODE_ENV=test cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 wdio ./test/wdio.conf.js --env.prod",
"server": "cross-env NODE_ENV=production node ./server",
"prestart:api": "rimraf ./build",
"start:api": "cross-env NODE_ENV=development webpack --config webpack.config.api.babel.js",
"start": "cross-env NODE_ENV=development node ./server --hot"
}
}