-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (57 loc) · 1.71 KB
/
package.json
File metadata and controls
58 lines (57 loc) · 1.71 KB
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
{
"name": "safe-platform",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "vite --host --mode dev",
"start:dev": "vite --host --mode dev",
"start:staging": "vite --host --mode staging",
"start:prod": "vite --host --mode production",
"build": "tsc && vite build",
"build:dev": "tsc && vite build --mode dev",
"build:staging": "tsc && vite build --mode staging",
"build:prod": "tsc && vite build --mode production",
"preview": "vite preview",
"prettier": "prettier --write .",
"prepare": "husky install",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives --max-warnings 999",
"lint-fix": "eslint src --fix --ext .js,.jsx,.ts,.tsx",
"ls-lint": "ls-lint",
"deploy": "gh-pages -d dist -r https://github.com/MARS-EAI/MARS-System.git"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@ls-lint/ls-lint": "^2.2.3",
"@types/classnames": "^2.3.1",
"@types/js-cookie": "^3.0.3",
"@types/node": "^18.15.11",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"eslint-config-ali": "^15.0.1",
"gh-pages": "^6.3.0",
"husky": "^9.1.7",
"less": "^4.1.3",
"lint-staged": "^15.2.11",
"prettier": "^3.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"terser": "^5.16.9",
"typescript": "^4.9.3",
"vite": "^4.2.1",
"vite-babel-plugin": "^0.0.2"
},
"dependencies": {
"@easycode/client-detector": "^1.3.5",
"antd": "^5.4.5",
"axios": "^1.3.5",
"classnames": "^2.3.2",
"js-cookie": "^3.0.1",
"react-router": "^6.11.2",
"react-router-dom": "^6.11.2"
},
"lint-staged": {
"**/*.{ts, tsx, less, module.less, json, md, .html}": "prettier --write ."
}
}