forked from material-components/material-components-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
198 lines (198 loc) · 6.41 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
{
"private": true,
"description": "Material Components Web",
"license": "Apache-2.0",
"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 -w",
"clean": "del-cli build/** build .closure-tmp/** .closure-tmp test/screenshot/out/",
"commitmsg": "validate-commit-msg",
"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\"",
"fix": "npm-run-all --parallel fix:*",
"lint:js": "eslint packages test scripts webpack.config.js demos/webpack.config.js karma.conf.js",
"lint:css": "stylelint \"packages/**/*.scss\"",
"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:serve": "node test/screenshot/run-static-server.js",
"screenshot:upload-assets": "node test/screenshot/run-upload-assets.js",
"screenshot:watch": "npm run clean && mkdirp test/screenshot/out/ && webpack --config=test/screenshot/webpack.config.js --watch --progress --colors",
"start": "npm run clean && 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"
},
"devDependencies": {
"@google-cloud/storage": "^1.6.0",
"ascii-table": "0.0.9",
"autoprefixer": "^8.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": "^5.0.0",
"camel-case": "^3.0.0",
"chai": "^4.0.2",
"cli-table": "^0.3.1",
"codecov": "^3.0.0",
"cp-file": "^5.0.0",
"cross-env": "^5.0.0",
"css-loader": "^0.28.0",
"cssom": "^0.3.2",
"cz-conventional-changelog": "^2.0.0",
"del-cli": "^1.0.0",
"dom-events": "^0.1.1",
"eslint": "^4.10.0",
"eslint-config-google": "^0.8.1",
"eslint-plugin-mocha": "^4.8.0",
"express": "^4.16.3",
"extract-text-webpack-plugin": "^3.0.0",
"fs-extra": "^5.0.0",
"glob": "^7.1.1",
"google-closure-compiler": "^20170521.0.0",
"husky": "^0.14.0",
"istanbul": "^0.4.4",
"istanbul-instrumenter-loader": "^3.0.0",
"json-loader": "^0.5.4",
"json-stringify-safe": "^5.0.1",
"karma": "^2.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": "^2.0.4",
"lerna": "2.0.0-beta.36",
"lolex": "2.1.3",
"mkdirp": "^0.5.1",
"mocha": "^5.0.0",
"node-sass": "^4.8.3",
"npm-run-all": "^4.1.1",
"postcss-loader": "^2.0.3",
"query-ast": "^1.0.1",
"recast": "^0.14.0",
"resolve": "^1.3.2",
"sass-loader": "^6.0.4",
"scss-parser": "^1.0.0",
"semver": "^5.3.0",
"serve-index": "^1.9.1",
"simple-git": "^1.92.0",
"standard-changelog": "^1.0.4",
"stylelint": "^9.0.0",
"stylelint-config-standard": "^18.0.0",
"stylelint-order": "^0.8.0",
"stylelint-scss": "^2.0.1",
"stylelint-selector-bem-pattern": "^1.0.0",
"testdouble": "^3.2.4",
"to-slug-case": "^1.0.0",
"validate-commit-msg": "^2.6.1",
"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",
"drawer",
"elevation",
"fab",
"floating-label",
"form-field",
"grid-list",
"icon-toggle",
"image-list",
"layout-grid",
"line-ripple",
"linear-progress",
"list",
"menu",
"notched-outline",
"radio",
"ripple",
"rtl",
"select",
"selection-control",
"slider",
"snackbar",
"switch",
"tabs",
"tab",
"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-floating-label",
"mdc-form-field",
"mdc-icon-toggle",
"mdc-line-ripple",
"mdc-menu",
"mdc-notched-outline",
"mdc-radio",
"mdc-ripple",
"mdc-selection-control",
"mdc-slider",
"mdc-tab",
"mdc-textfield",
"mdc-top-app-bar"
]
}