forked from material-components/material-components-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
225 lines (225 loc) · 7.9 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
{
"private": true,
"description": "Material Components Web",
"license": "MIT",
"scripts": {
"build": "npm run clean && mkdirp build && webpack --progress --colors",
"build:esmodules": "tsc --project ./tsconfig.json --module esnext --importHelpers",
"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": "node ./scripts/build/clean",
"clean:site": "node ./scripts/build/clean --site-generator-tmp",
"dist": "npm run build && npm run build:min && npm run build:esmodules",
"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 test scripts webpack.config.js demos/webpack.config.js karma.conf.js",
"fix:ts": "tslint --exclude \"**/*.d.ts\" --fix \"packages/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.ts\"",
"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 test scripts webpack.config.js demos/webpack.config.js karma.conf.js",
"lint:ts": "tslint --exclude \"**/*.d.ts\" \"packages/**/*.ts\" \"test/**/*.ts\" \"scripts/**/*.ts\"",
"lint:html": "find test/screenshot/spec/ -name '*.html' | grep -v 'index.html$' | xargs htmllint",
"lint:mdc": "ts-node --project scripts/tsconfig.json -- scripts/lint-mdc.ts",
"lint": "npm-run-all --parallel lint:*",
"postinstall": "lerna bootstrap",
"pretest": "npm run lint",
"test": "npm run test:unit && npm run test:dependency && npm run build && npm run clean",
"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:dependency": "./scripts/dependency-test.sh",
"test:feature-targeting": "node test/scss/verify-feature-targeting.js",
"test:site": "npm run clean:site && ./scripts/site-generator-test.sh"
},
"devDependencies": {
"@babel/parser": "^7.2.3",
"@babel/traverse": "^7.3.4",
"@babel/types": "^7.3.4",
"@google-cloud/datastore": "^3.0.1",
"@octokit/rest": "^16.15.0",
"@types/babel__traverse": "^7.0.6",
"@types/glob": "^7.1.1",
"@types/node": "^12.0.0",
"@types/resolve": "0.0.8",
"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-env": "^1.7.0",
"babel-traverse": "^6.24.1",
"babel-types": "^6.24.1",
"bel": "^6.0.0",
"camel-case": "^3.0.0",
"chai": "^4.0.2",
"chokidar": "^3.0.0",
"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": "^7.0.0",
"cross-env": "^5.0.0",
"css-loader": "^2.0.0",
"cssom": "^0.3.2",
"cz-conventional-changelog": "^2.0.0",
"dart-sass": "^1.15.2",
"debounce": "^1.1.0",
"del": "^4.0.0",
"detect-port": "^1.2.3",
"dom-events": "^0.1.1",
"dts-bundle": "^0.7.3",
"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": "^4.0.1",
"fs-extra": "^7.0.0",
"glob": "^7.1.1",
"gts": "^0.9.0",
"handlebars": "^4.0.11",
"htmllint-cli": "0.0.7",
"husky": "^1.1.1",
"is-online": "^8.0.0",
"istanbul-instrumenter-loader": "^3.0.0",
"jimp": "^0.6.1",
"jsdom": "^13.1.0",
"json-stable-stringify": "^1.0.1",
"karma": "^4.0.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage-istanbul-reporter": "^2.0.4",
"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.1.0",
"mkdirp": "^0.5.1",
"mocha": "^6.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",
"recast": "^0.17.3",
"request-promise-native": "^1.0.5",
"resemblejs": "^3.0.0",
"resolve": "^1.3.2",
"sass-loader": "^7.1.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": "^2.1.0",
"testdouble": "^3.2.4",
"to-slug-case": "^1.0.0",
"ts-loader": "^3.5.0",
"ts-node": "^8.0.3",
"tslint": "^5.12.0",
"typescript": "^3.1.6",
"url-search-params-polyfill": "^6.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": [
[
"env",
{
"modules": false
}
]
],
"plugins": [
"transform-object-assign"
]
},
"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",
"feature-targeting",
"floating-label",
"form-field",
"grid-list",
"icon-button",
"image-list",
"layout-grid",
"line-ripple",
"linear-progress",
"list",
"menu",
"menu-surface",
"notched-outline",
"radio",
"ripple",
"rtl",
"select",
"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"
}
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg"
}
}
}