-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
128 lines (128 loc) · 4.23 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
{
"private": true,
"name": "bc-console",
"description": "Console for best chain",
"version": "0.1.0",
"scripts": {
"analyze": "cross-env ANALYZE=1 UMI_ENV=prod max build",
"start": "max dev",
"dev": "concurrently \"max dev\" \"npm run build:menu-watch\"",
"postinstall": "max setup",
"test": "jest",
"test:coverage": "max g jest --coverage",
"build": "cross-env UMI_ENV=prod max build --max_old_space_size=4096 && npm run build:menu",
"build:menu": "node ./config/menu/index.mjs",
"build:menu-watch": "cross-env WATCH=1 MENU_JSON_PATH=../../public/menu.json node ./config/menu/index.mjs",
"build:all": "nr build && ./build.sh",
"lint": "npm run lint:es && npm run lint:style && npm run lint:prettier",
"lint:es": "eslint --ext .jsx,.js,.tsx,.ts src",
"lint:style": "stylelint \"src/{pages,components,assets}/**/*.less\" --syntax less",
"lint:prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"lint-fix": "npm run lint-fix:es && npm run lint-fix:style",
"lint-fix:es": "eslint --ext .jsx,.js,.tsx,.ts src --fix",
"lint-fix:style": "stylelint \"src/{pages,components,assets}/**/*.less\" --syntax less --fix",
"lint-staged": "lint-staged",
"lint-staged:es": "eslint --ext .js,.jsx,.ts,.tsx ",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "[email protected]:bestchains/bc-console.git"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.js?(x)": [
"eslint --fix",
"prettier --write"
],
"**/*.ts?(x)": [
"eslint --fix",
"prettier --parser=typescript --write"
],
"**/*.{less}": [
"stylelint --allow-empty-input --syntax less",
"prettier --write"
],
"**/*.{md,json}": [
"prettier --write"
]
},
"dependencies": {
"@alilc/lowcode-datasource-engine": "^1.0.0",
"@alilc/lowcode-datasource-fetch-handler": "latest",
"@ant-design/icons": "^5.0.0",
"@ant-design/pro-components": "^2.3.52",
"@formily/antd": "^2.1.4",
"@formily/core": "^2.1.4",
"@formily/react": "^2.1.4",
"@tenx-ui/charts": "1.1.2",
"@tenx-ui/icon": "^2.4.21",
"@tenx-ui/icon-materials": "^0.1.2",
"@tenx-ui/logs": "3.0.3",
"@tenx-ui/materials": "1.5.1",
"@tenx-ui/utils": "^2.3.1",
"@umijs/max": "^4.0.42",
"@yunti/lowcode-datasource-axios-handler": "^1.0.0",
"antd": "^5.1.5",
"babel-runtime": "^6.26.0",
"classnames": "^2.2.5",
"dayjs": "^1.11.7",
"graphql": "^16.6.0",
"graphql-request": "^5.1.0",
"graphql-tag": "^2.12.6",
"query-string": "^6.14.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"swr": "^2.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-proposal-decorators": "^7.20.5",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13",
"@types/classnames": "^2.2.7",
"@types/express": "^4.17.0",
"@types/history": "^4.7.2",
"@types/jest": "^27",
"@types/lodash": "^4.14.144",
"@types/qs": "^6.5.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"babel-plugin-import": "^1.13.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.13",
"commitlint-plugin-function-rules": "^1.3.2",
"concurrently": "^7.6.0",
"cross-env": "^5.1.4",
"eslint": "^8.29.0",
"eslint-config-egg": "^12.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"jest": "^27",
"lint-staged": "^10.0.7",
"prettier": "^2.0.5",
"prop-types": "^15.7.2",
"stylelint": "^13.3.3",
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"ts-node": "^10",
"typescript": "^4"
},
"engines": {
"node": ">=10.13.0"
}
}