Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 4.04 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 4.04 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
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
{
"name": "eesast-web",
"description": "EESAST Web App",
"version": "2024.0.0",
"author": "EESAST",
"private": true,
"packageManager": "yarn@1.22.22",
"engines": {
"node": ">=24.22.1 <25"
},
"dependencies": {
"@ant-design/charts": "2.6.7",
"@ant-design/pro-components": "2.8.10",
"@apollo/client": "3.14.1",
"antd": "5.29.3",
"axios": "1.18.1",
"cos-js-sdk-v5": "1.10.1",
"dayjs": "1.11.13",
"dotenv": "17.4.2",
"google-protobuf": "4.0.2",
"graphql": "17.0.2",
"graphql-ws": "6.1.1",
"grpc-web": "2.0.2",
"is-url": "1.2.4",
"jwt-decode": "4.0.0",
"katex": "0.18.1",
"react": "18.3.1",
"react-cropper": "2.3.3",
"react-custom-scrollbars": "4.2.1",
"react-dom": "18.3.1",
"react-markdown": "10.1.0",
"react-otp-input": "3.1.1",
"react-router-dom": "7.18.1",
"react-router-prompt": "0.8.2",
"react-unity-webgl": "10.2.0",
"rehype-katex": "7.0.1",
"remark-gfm": "4.0.1",
"remark-math": "6.0.0",
"styled-components": "6.4.4",
"xlsx": "0.18.5"
},
"devDependencies": {
"@graphql-codegen/cli": "7.2.0",
"@graphql-codegen/typescript": "6.1.0",
"@graphql-codegen/typescript-operations": "6.1.2",
"@graphql-codegen/typescript-react-apollo": "4.4.2",
"@playwright/test": "1.61.1",
"@types/is-url": "1.2.32",
"@types/node": "24.13.3",
"@types/react": "18.3.31",
"@types/react-custom-scrollbars": "4.0.13",
"@types/react-dom": "18.3.7",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.36",
"babel-plugin-styled-components": "2.3.0",
"cross-env": "10.1.0",
"customize-cra": "1.0.0",
"husky": "9.1.7",
"lint-staged": "17.2.0",
"prettier": "3.9.6",
"react-app-rewired": "2.2.1",
"react-scripts": "5.0.1",
"rimraf": "6.1.3",
"typescript": "5.9.3",
"web-vitals": "5.3.0",
"webpack-bundle-analyzer": "5.3.1",
"webpackbar": "7.0.0"
},
"peerDependencies": {
"electron": "43.2.0",
"electron-builder": "26.15.3"
},
"resolutions": {
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@antv/g2": "5.4.8"
},
"scripts": {
"preinstall": "npm config set registry https://registry.npmmirror.com/ && yarn config set registry https://registry.yarnpkg.com",
"postinstall": "yarn clean && husky",
"eject": "react-scripts eject",
"generate": "graphql-codegen",
"reset": "rimraf node_modules && rimraf yarn.lock && yarn",
"clean": "rimraf ./node_modules/.cache && rimraf build && rimraf electron",
"start": "react-app-rewired start",
"test": "playwright test --ui",
"build": "react-app-rewired build",
"analyze": "cross-env ANALYZER=true yarn build",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"typecheck": "tsc --noUnusedLocals",
"electron": "electron .",
"electron:dev": "electron . dev",
"electron:init": "electron-builder install-app-deps",
"electron:build": "electron-builder"
},
"lint-staged": {
"!(src/generated/**/*)*.{js,jsx,ts,tsx}": [
"yarn lint"
],
"!(src/generated/**/*)*.{js,jsx,ts,tsx,html,css,md,graphql}": [
"prettier --write"
]
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"browserslist": {
"production": [
">0.1% in CN",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"main": "build/electron.js",
"homepage": "./",
"build": {
"productName": "EESAST",
"appId": "eesast-web",
"icon": "build/logo.png",
"directories": {
"output": "electron"
},
"win": {
"target": [
"nsis",
"zip"
]
},
"nsis": {
"shortcutName": "EESAST",
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"files": [
"build/**/*",
"node_modules/**/*"
]
}
}