This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
125 lines (125 loc) · 3.84 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
{
"name": "pbench_dashboard",
"version": "3.0.0",
"description": "UI solution for scalable visualization of benchmark data.",
"private": true,
"scripts": {
"precommit": "npm run lint-staged",
"start": "cross-env UMI_UI=none MOCK=none umi dev",
"start:mock": "cross-env UMI_UI=none MOCK=true umi dev",
"build": "umi build",
"preversion": "umi test ./src/components ./src/pages ./src/utils --verbose --maxWorkers=1 --runInBand --updateSnapshot",
"version": "umi build",
"release-major": "npm version major",
"release-minor": "npm version minor",
"release-patch": "npm version patch",
"prerelease": "npm version prerelease",
"site": "umi-api-doc static && gh-pages -d dist",
"analyze": "cross-env ANALYZE=true umi build",
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src mock && npm run lint:style",
"lint:fix": "eslint --fix --ext .js src && npm run lint:style",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js src mock",
"test": "umi test ./src/components ./src/pages ./src/utils",
"test:component": "umi test @",
"test:e2e": "umi test ./src/e2e --verbose",
"test:all": "node ./tests/run-tests.js",
"prettier": "prettier --write ./src/**/**/**/*"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.9",
"@patternfly/patternfly": "4.103.0",
"@patternfly/react-charts": "6.14.17",
"@patternfly/react-core": "4.116.0",
"@patternfly/react-icons": "4.10.2",
"@patternfly/react-styles": "4.10.2",
"@patternfly/react-table": "4.26.12",
"antd": "^3.16.1",
"casual": "^1.6.2",
"dva": "^2.4.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"jschart": "^1.0.7",
"lodash": "^4.17.20",
"match-sorter": "^6.3.0",
"memoize-one": "^5.0.0",
"moment": "^2.24.0",
"path-to-regexp": "^2.1.0",
"prop-types": "^15.5.10",
"react": "^16.8.0",
"react-copy-to-clipboard": "^5.0.2",
"react-document-title": "^2.0.3",
"react-dom": "^16.8.3",
"react-table": "^7.6.3",
"redux": "3.x",
"redux-persist": "^6.0.0",
"reflect-metadata": "^0.1.13",
"setprototypeof": "^1.1.0",
"umi": "^3",
"umi-request": "^1.0.7",
"url-polyfill": "^1.0.10"
},
"devDependencies": {
"@umijs/preset-react": "^1",
"babel-eslint": "10.0.1",
"cross-env": "^5.1.1",
"eslint": "5.13.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.1.0",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-react": "7.12.4",
"gh-pages": "^1.0.0",
"husky": "^1.3.1",
"jest-canvas-mock": "^2.0.0-beta.1",
"lint-staged": "^7.2.0",
"prettier": "1.14.0",
"stylelint": "^9.2.1",
"stylelint-config-prettier": "^3.0.4",
"stylelint-config-standard": "^18.0.0"
},
"jest": {
"setupFiles": [
"jest-canvas-mock",
"./test-init.js"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/casual",
"<rootDir>/node_modules/(?!d3-interpolate/|@patternfly/react-core/node_modules/@patternfly/react-styles/|@patternfly/patternfly/|jschart/)"
]
},
"optionalDependencies": {
"puppeteer": "^1.4.0"
},
"peerDependencies": {
"react": ">=15.0.0",
"react-dom": ">=15.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,less}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.less": "stylelint --syntax less"
},
"engines": {
"node": ">=8.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}