forked from material-components/material-components-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
253 lines (253 loc) · 8.19 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"private": true,
"description": "Material Components Web",
"license": "MIT",
"scripts": {
"build": "npm run clean && mkdirp build && webpack --progress --colors",
"build:demos": "npm run clean && mkdirp build && webpack --config=demos/webpack.config.js --progress --colors",
"build:min": "mkdirp build && cross-env MDC_ENV=production webpack -p --progress --colors",
"changelog": "standard-changelog -i CHANGELOG.md -k packages/material-components-web/package.json",
"clean": "del-cli build/** build .closure-tmp/** .closure-tmp",
"clean:site": "del-cli .site-generator-tmp/** .site-generator-tmp",
"dist": "npm run build && npm run build:min",
"dev": "npm run clean && cross-env MDC_ENV=development webpack-dev-server --config=demos/webpack.config.js --progress --inline --hot --host 0.0.0.0",
"fix:js": "eslint --fix packages test webpack.config.js demos/webpack.config.js karma.conf.js",
"fix:css": "stylelint --fix \"packages/**/*.scss\"; stylelint --fix --config=test/screenshot/.stylelintrc.yaml \"test/screenshot/**/*.scss\"",
"fix": "npm-run-all --parallel fix:*",
"lint:css": "stylelint \"packages/**/*.scss\"; stylelint --config=test/screenshot/.stylelintrc.yaml \"test/screenshot/**/*.scss\"",
"lint:js": "eslint packages test scripts webpack.config.js demos/webpack.config.js karma.conf.js",
"lint:html": "find test/screenshot/spec/ -name '*.html' | grep -v 'index.html$' | xargs htmllint",
"lint:imports": "node scripts/check-imports.js",
"lint": "npm-run-all --parallel lint:*",
"postinstall": "lerna bootstrap",
"pretest": "npm run lint",
"test": "npm run test:unit && npm run test:closure && npm run test:dependency && npm run build && npm run clean",
"posttest": "istanbul report --root coverage text-summary && istanbul check-coverage --lines 95 --statements 95 --branches 95 --functions 95",
"screenshot:approve": "node test/screenshot/run.js approve",
"screenshot:build": "node test/screenshot/run.js build",
"screenshot:clean": "node test/screenshot/run.js clean",
"screenshot:demo": "node test/screenshot/run.js demo",
"screenshot:index": "node test/screenshot/run.js index",
"screenshot:proto": "node test/screenshot/run.js proto",
"screenshot:serve": "node test/screenshot/run.js serve",
"screenshot:test": "node test/screenshot/run.js test",
"screenshot:watch": "node test/screenshot/run.js build --watch",
"screenshot:webpack": "webpack --config=test/screenshot/webpack.config.js --progress",
"start": "npm-run-all --parallel screenshot:serve screenshot:watch",
"test:watch": "karma start --auto-watch",
"test:unit": "karma start --single-run",
"test:closure": "./scripts/closure-test.sh",
"test:dependency": "./scripts/dependency-test.sh",
"test:site": "npm run clean:site && ./scripts/site-generator-test.sh"
},
"devDependencies": {
"@google-cloud/datastore": "^2.0.0",
"@octokit/rest": "^15.9.4",
"argparse": "^1.0.10",
"ascii-table": "0.0.9",
"autoprefixer": "^9.0.0",
"babel-core": "^6.22.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babel-traverse": "^6.24.1",
"babel-types": "^6.24.1",
"babylon": "^6.16.1",
"bel": "^6.0.0",
"camel-case": "^3.0.0",
"chai": "^4.0.2",
"chokidar": "^2.0.4",
"cli-table": "^0.3.1",
"codecov": "^3.0.0",
"colors": "^1.3.0",
"conventional-changelog-angular": "^5.0.2",
"conventional-commits-parser": "^3.0.0",
"cp-file": "^6.0.0",
"cross-env": "^5.0.0",
"css-loader": "^1.0.0",
"cssom": "^0.3.2",
"cz-conventional-changelog": "^2.0.0",
"dart-sass": "^1.14.3",
"debounce": "^1.1.0",
"del": "^3.0.0",
"del-cli": "^1.0.0",
"detect-port": "^1.2.3",
"dom-events": "^0.1.1",
"eslint": "^5.1.0",
"eslint-config-google": "^0.11.0",
"eslint-plugin-mocha": "^5.0.0",
"express": "^4.16.3",
"extract-text-webpack-plugin": "^3.0.0",
"fibers": "^3.0.0",
"fs-extra": "^7.0.0",
"glob": "^7.1.1",
"google-closure-compiler": "^20180910.0.0",
"handlebars": "^4.0.11",
"htmllint-cli": "0.0.7",
"husky": "^1.1.1",
"is-online": "^7.0.0",
"istanbul": "^0.4.4",
"istanbul-instrumenter-loader": "^3.0.0",
"jimp": "^0.2.28",
"json-stable-stringify": "^1.0.1",
"karma": "^3.0.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-sauce-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-tap": "^4.0.0",
"karma-webpack": "^3.0.0",
"lerna": "^2.11.0",
"lolex": "3.0.0",
"mkdirp": "^0.5.1",
"mocha": "^5.0.0",
"mz": "^2.7.0",
"npm-run-all": "^4.1.1",
"os-name": "^3.0.0",
"postcss-loader": "^3.0.0",
"protobufjs": "~6.8.6",
"ps-node": "^0.1.6",
"query-ast": "^1.0.1",
"recast": "^0.16.0",
"request-promise-native": "^1.0.5",
"resemblejs": "^2.10.1",
"resolve": "^1.3.2",
"sass-loader": "^7.1.0",
"scss-parser": "^1.0.0",
"selenium-webdriver": "^4.0.0-alpha.1",
"semver": "^5.3.0",
"serve-index": "^1.9.1",
"simple-git": "^1.92.0",
"standard-changelog": "^2.0.0",
"stylelint": "^9.0.0",
"stylelint-config-standard": "^18.0.0",
"stylelint-order": "^2.0.0",
"stylelint-scss": "^3.0.0",
"stylelint-selector-bem-pattern": "^1.0.0",
"testdouble": "^3.2.4",
"to-slug-case": "^1.0.0",
"url-search-params-polyfill": "^5.0.0",
"useragent": "^2.3.0",
"validate-commit-msg": "^2.6.1",
"verror": "^1.10.0",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.4.3"
},
"babel": {
"presets": [
[
"es2015",
{
"modules": false
}
]
],
"plugins": [
"transform-object-assign"
],
"env": {
"test": {
"presets": [
"es2015"
]
}
}
},
"config": {
"validate-commit-msg": {
"helpMessage": "%s\nNOTE: Please see angular's commit message guidelines (https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#commits) for information on how to format commit messages.\n\nAs an example, here is a valid commit message: 'docs(slider): Document slider public api'\n\nIf this commit is on a development / WIP branch, you can disable this by running `git commit --no-verify`.",
"scope": {
"allowed": [
"animation",
"auto-init",
"base",
"button",
"card",
"checkbox",
"chips",
"dialog",
"dom",
"drawer",
"elevation",
"fab",
"floating-label",
"form-field",
"grid-list",
"icon-button",
"icon-toggle",
"image-list",
"layout-grid",
"line-ripple",
"linear-progress",
"list",
"menu",
"menu-surface",
"notched-outline",
"radio",
"ripple",
"rtl",
"select",
"selection-control",
"shape",
"slider",
"snackbar",
"switch",
"tabs",
"tab",
"tab-bar",
"tab-indicator",
"tab-scroller",
"text-field",
"theme",
"toolbar",
"top-app-bar",
"typography",
"demos",
"infrastructure",
"package"
],
"validate": true
}
},
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"closureWhitelist": [
"mdc-animation",
"mdc-base",
"mdc-checkbox",
"mdc-chips",
"mdc-dialog",
"mdc-dom",
"mdc-drawer",
"mdc-floating-label",
"mdc-form-field",
"mdc-icon-button",
"mdc-icon-toggle",
"mdc-line-ripple",
"mdc-list",
"mdc-menu",
"mdc-menu-surface",
"mdc-notched-outline",
"mdc-radio",
"mdc-ripple",
"mdc-select",
"mdc-selection-control",
"mdc-slider",
"mdc-switch",
"mdc-tab",
"mdc-tab-indicator",
"mdc-tab-scroller",
"mdc-tab-bar",
"mdc-textfield",
"mdc-top-app-bar"
],
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg"
}
}
}