-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
104 lines (104 loc) · 4.12 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
{
"name": "cauldron",
"private": true,
"version": "0.0.0",
"license": "MPL-2.0",
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-0": "^7.0.0",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.4.0",
"@types/classnames": "^2.2.9",
"@types/node": "^14.10.1",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-syntax-highlighter": "^11.0.4",
"@types/webpack-dev-server": "^3.10.1",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"autoprefixer": "^9.7.6",
"babel-loader": "^8.0.5",
"babel-plugin-module-resolver": "^3.0.0",
"babel-plugin-transform-export-extensions": "^6.22.0",
"classnames": "^2.2.6",
"closest": "0.0.1",
"css-loader": "^0.28.7",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.5.1",
"file-loader": "^1.1.5",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.0.0-rc.14",
"jest-axe": "^3.1.1",
"jsdom": "^15.2.1",
"jsdom-global": "^3.0.2",
"lerna": "^3.20.2",
"less": "^2.7.3",
"lint-staged": "^7.2.2",
"mini-css-extract-plugin": "^0.9.0",
"nyc": "^11.3.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"pa11y-ci": "2.4.0",
"pa11y-ci-reporter-html": "^2.0.3",
"postcss-cli": "^6.0.1",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"prettier": "^1.19.1",
"prettyjson": "^1.2.1",
"proxyquire": "^1.8.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-element-to-jsx-string": "^14.0.2",
"react-helmet": "^5.2.1",
"react-router-dom": "^4.2.2",
"standard-version": "^8.0.1",
"style-loader": "^0.19.0",
"terser-webpack-plugin": "^2.3.5",
"ts-node": "^8.9.1",
"typescript": "^3.7.5",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"yarn-audit-fix": "^3.2.12"
},
"prettier": {
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{json,css,md,ts,tsx}": [
"prettier --write",
"git add"
]
},
"scripts": {
"build": "bash -c 'NODE_ENV=production lerna run build' && bash -c 'NODE_ENV=production webpack --bail'",
"dev": "bash -c 'yarn webpack-dev-server & lerna run dev --stream'",
"fmt": "prettier --write 'docs/**/*.{css,js}' 'packages/react/**/*.{js,ts,tsx}' *.{js,json,md,ts}",
"lint": "eslint .",
"test": "npm run --prefix=packages/react test",
"test-pa11y-axe": "bash -c 'mkdir -p docs/dist' && node_modules/.bin/pa11y-ci -c .pa11yci-axe --json -T 10 > docs/dist/pa11y-results-axe.json",
"generate-pa11y-axe-report": "bash -c 'mkdir -p docs/dist/pa11y-axe' && bash -c 'cp -f .pa11yci-axe-html.handlebars node_modules/pa11y-ci-reporter-html/lib/index.handlebars' && bash -c 'node_modules/.bin/pa11y-ci-reporter-html -s docs/dist/pa11y-results-axe.json -d docs/dist/pa11y-axe'",
"print-pa11y-axe-cli-results": "bash -c 'test -f docs/dist/pa11y-results-axe.json' && bash -c 'npx prettyjson docs/dist/pa11y-results-axe.json'",
"test-pa11y-htmlcs": "bash -c 'mkdir -p docs/dist' && node_modules/.bin/pa11y-ci -c .pa11yci-htmlcs --json -T 10 > docs/dist/pa11y-results-htmlcs.json",
"generate-pa11y-htmlcs-report": "bash -c 'mkdir -p docs/dist/pa11y-htmlcs' && bash -c 'cp -f .pa11yci-htmlcs-html.handlebars node_modules/pa11y-ci-reporter-html/lib/index.handlebars' && bash -c 'node_modules/.bin/pa11y-ci-reporter-html -s docs/dist/pa11y-results-htmlcs.json -d docs/dist/pa11y-htmlcs'",
"print-pa11y-htmlcs-cli-results": "bash -c 'test -f docs/dist/pa11y-results-htmlcs.json' && bash -c 'npx prettyjson docs/dist/pa11y-results-htmlcs.json'",
"postinstall": "lerna bootstrap"
}
}