-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 4.07 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
{
"private": true,
"description": "Material Components React",
"license": "Apache-2.0",
"scripts": {
"start": "webpack-dev-server --config test/screenshot/webpack.config.js --content-base test/screenshot",
"stop": "./test/screenshot/stop.sh",
"build": "npm run clean && mkdirp build && webpack --config packages/webpack.config.js --progress --colors",
"capture": "MDC_COMMIT_HASH=$(git rev-parse --short HEAD) MDC_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) mocha --compilers js:babel-core/register --ui tdd --timeout 90000 test/screenshot/capture-suite.js",
"clean": "rm -rf build/** build",
"commitmsg": "validate-commit-msg",
"fix": "eslint --fix packages test",
"lint": "eslint packages test",
"pretest": "npm run lint && npm stop && ./test/screenshot/start.sh && sleep 90s",
"test": "npm run test:unit && npm run test:image-diff",
"posttest": "npm stop && istanbul report --root coverage text-summary && istanbul check-coverage --lines 95 --statements 95 --branches 95 --functions 95",
"postinstall": "lerna bootstrap",
"test:watch": "karma start karma.local.js --auto-watch",
"test:unit": "NODE_ENV=test karma start karma.local.js --single-run",
"test:unit-ci": "karma start karma.ci.js --single-run",
"test:image-diff": "MDC_COMMIT_HASH=$(git rev-parse --short HEAD) MDC_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) mocha --compilers js:babel-core/register --ui tdd --timeout 90000 test/screenshot/diff-suite.js",
"upload:screenshots": "node ./test/screenshot/upload-screenshots.js"
},
"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": [
"button",
"card",
"fab",
"floating-label",
"line-ripple",
"ripple",
"top-app-bar",
"infrastructure",
"text-field"
],
"validate": true
}
}
},
"devDependencies": {
"@google-cloud/storage": "^1.6.0",
"@material/button": "^0.36.0",
"@material/card": "^0.36.0",
"@material/fab": "^0.36.0",
"@material/floating-label": "^0.36.0",
"@material/line-ripple": "^0.35.0",
"@material/list": "^0.36.0",
"@material/notched-outline": "^0.35.0",
"@material/ripple": "^0.36.0",
"@material/textfield": "^0.36.0",
"@material/top-app-bar": "^0.36.0",
"@material/typography": "^0.35.0",
"autoprefixer": "^8.5.1",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.4",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-airbnb": "^2.4.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"capture-chrome": "^2.0.0",
"chai": "^4.1.2",
"cp-file": "^6.0.0",
"css-loader": "^0.28.10",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^3.19.0",
"eslint-config-google": "^0.9.1",
"eslint-plugin-react": "^7.7.0",
"extract-text-webpack-plugin": "^3.0.2",
"husky": "^0.14.3",
"istanbul": "^0.4.5",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-webpack": "^2.0.13",
"lerna": "^2.9.0",
"mocha": "^5.0.2",
"node-sass": "^4.9.0",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"postcss-loader": "^2.1.5",
"puppeteer": "^1.1.1",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"resemblejs": "^2.10.0",
"sass-loader": "^6.0.7",
"testdouble": "^3.6.0",
"validate-commit-msg": "^2.14.0",
"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.2"
}
}