forked from material-components/material-components-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
173 lines (173 loc) · 5.28 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
{
"private": true,
"description": "Material Components Web",
"license": "Apache-2.0",
"scripts": {
"build": "mkdirp build && webpack --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/**",
"commitmsg": "validate-commit-msg",
"dist": "npm run clean && npm run build && npm run build:min",
"dev": "npm run clean && cross-env MDC_ENV=development webpack-dev-server --progress --content-base demos --inline --hot --host 0.0.0.0",
"fix:js": "eslint --fix packages test 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 karma.conf.js",
"lint:css": "stylelint packages/**/*.scss",
"lint": "npm-run-all --parallel lint:*",
"postinstall": "lerna bootstrap",
"pretest": "npm run lint && node scripts/check-imports.js",
"test": "npm run test:unit && npm run test:closure && npm run test:dependency",
"posttest": "istanbul report --root coverage text-summary && istanbul check-coverage --lines 95 --statements 95 --branches 95 --functions 95",
"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": {
"ascii-table": "0.0.9",
"autoprefixer": "^7.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",
"extract-text-webpack-plugin": "^3.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",
"karma": "^1.7.1",
"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": "^2.1.4",
"karma-webpack": "^2.0.4",
"lerna": "2.0.0-beta.36",
"lolex": "2.1.3",
"mkdirp": "^0.5.1",
"mocha": "^4.0.0",
"node-sass": "^4.0.0",
"npm-run-all": "^4.1.1",
"postcss-loader": "^2.0.3",
"query-ast": "^1.0.1",
"recast": "^0.12.3",
"resolve": "^1.3.2",
"sass-loader": "^6.0.4",
"scss-parser": "^1.0.0",
"semver": "^5.3.0",
"standard-changelog": "^1.0.4",
"style-loader": "^0.19.0",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"stylelint-order": "^0.7.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/CONTRIBUTING.md#commit) 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",
"dialog",
"drawer",
"elevation",
"fab",
"form-field",
"grid-list",
"icon-toggle",
"layout-grid",
"linear-progress",
"list",
"menu",
"radio",
"ripple",
"rtl",
"select",
"selection-control",
"slider",
"snackbar",
"switch",
"tabs",
"textfield",
"theme",
"toolbar",
"typography",
"demos",
"infrastructure",
"package"
],
"validate": true
}
},
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"closureWhitelist": [
"mdc-animation",
"mdc-base",
"mdc-checkbox",
"mdc-form-field",
"mdc-icon-toggle",
"mdc-menu",
"mdc-radio",
"mdc-ripple",
"mdc-selection-control",
"mdc-textfield"
]
}