This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
154 lines (154 loc) · 5.09 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
{
"name": "cattle",
"license": "MIT",
"private": true,
"version": "0.0.0",
"scripts": {
"gen:api": "node generateApi.js submodule",
"gen:api-dev": "node generateApi.js localServer",
"gen:api-staging": "node generateApi.js stagingServer",
"build": "tsc && vite build",
"commit": "cz",
"dev": "pnpm gen:api-dev && vite --open",
"dev:staging": "pnpm gen:api-staging && vite --open --mode staging",
"prepare": "husky install",
"preview": "vite preview",
"preview:test": "start-server-and-test preview http://localhost:4173",
"test": "vitest",
"test:ci": "vitest run",
"test:e2e": "pnpm preview:test 'cypress open'",
"test:e2e:headless": "pnpm preview:test 'cypress run'",
"test:e2e:ci": "vite build && pnpm preview:test 'cypress run --record'",
"format": "prettier -uw --ignore-path .gitignore .",
"run-tsc": "tsc",
"run-eslint": "eslint --cache --fix --ignore-path .gitignore --ext .ts,.tsx src",
"run-stylelint": "stylelint --cache --fix --ignore-path .gitignore '**/*.{css,less}'",
"lint": "run-p run-tsc run-eslint run-stylelint",
"validate": "run-p lint test:ci test:e2e:headless",
"i18n": "i18next --config i18next-parser.config.js"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-card": "^2.1.10",
"@ant-design/pro-form": "^2.5.4",
"@ant-design/pro-table": "^3.2.12",
"@ant-design/pro-utils": "^2.5.4",
"@monaco-editor/react": "^4.4.6",
"ahooks": "^3.7.4",
"antd": "^5.2.2",
"antd-img-crop": "^4.6.0",
"axios": "^1.2.5",
"copy-to-clipboard": "^3.3.3",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.7",
"i18next": "^22.4.9",
"i18next-http-backend": "^2.1.1",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.34.1",
"postcss-nesting": "^11.1.0",
"rc-field-form": "^1.27.3",
"react": "18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "18.2.0",
"react-helmet": "^6.1.0",
"react-highlight-words": "^0.20.0",
"react-i18next": "^12.1.4",
"react-markdown": "^8.0.5",
"react-router-dom": "6.8.0",
"react-simplemde-editor": "^5.2.0",
"react-sortable-hoc": "^2.0.0",
"react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^3.0.1",
"vite-plugin-imp": "^2.3.1"
},
"devDependencies": {
"@cypress/code-coverage": "3.9.12",
"@nabla/vite-plugin-eslint": "1.5.0",
"@tailwindcss/forms": "0.5.0",
"@testing-library/cypress": "9.0.0",
"@testing-library/dom": "8.20.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@types/crypto-js": "^4.1.1",
"@types/css-mediaquery": "0.1.1",
"@types/lodash-es": "^4.17.6",
"@types/react": "18.0.27",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "18.0.10",
"@types/react-highlight-words": "^0.16.4",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.50.0",
"@vitejs/plugin-react": "3.0.1",
"@vitest/coverage-c8": "^0.28.3",
"autoprefixer": "10.4.13",
"c8": "7.11.0",
"commitizen": "4.2.4",
"css-mediaquery": "0.1.2",
"cypress": "12.4.1",
"cz-conventional-changelog": "3.3.0",
"easymde": "^2.18.0",
"eslint": "8.11.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "16.1.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.29.3",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-react-prefer-function-component": "1.0.0",
"eslint-plugin-testing-library": "5.0.6",
"eslint-plugin-unicorn": "41.0.0",
"husky": "7.0.4",
"i18next-parser": "^7.6.0",
"jsdom": "21.1.0",
"lint-staged": "12.3.5",
"msw": "1.0.0",
"npm-run-all": "4.1.5",
"postcss": "8.4.21",
"prettier": "2.5.1",
"prettier-plugin-tailwindcss": "0.2.2",
"rollup": "3.11.0",
"rollup-plugin-istanbul": "4.0.0",
"start-server-and-test": "1.14.0",
"stylelint": "14.5.3",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-standard": "25.0.0",
"swagger-typescript-api": "^12.0.2",
"tailwindcss": "3.2.4",
"typescript": "4.9.4",
"vite": "4.0.4",
"vite-plugin-pwa": "0.14.1",
"vite-tsconfig-paths": "4.0.5",
"vitest": "0.28.3",
"whatwg-fetch": "3.6.2",
"workbox-build": "^6.5.4",
"workbox-window": "^6.5.4"
},
"browserslist": {
"production": "Edge >= 18, Firefox >= 60, Chrome >= 61, Safari >= 11, Opera >= 48",
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"lint-staged": {
"*": "prettier -uw",
"*.css": "stylelint --cache --fix",
"*.{ts,tsx}": [
"eslint --cache --fix",
"vitest related --run --coverage=false"
]
},
"nyc": {
"report-dir": "coverage/cypress",
"reporter": [
"lcov"
]
}
}