-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
139 lines (139 loc) · 3.78 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
{
"name": "eesast-web",
"description": "EESAST Web App",
"version": "2024.0.0",
"author": "EESAST",
"private": true,
"dependencies": {
"@ant-design/charts": "2.2.1",
"@ant-design/pro-components": "2.8.1",
"@apollo/client": "3.11.8",
"antd": "5.21.6",
"axios": "1.7.7",
"cos-js-sdk-v5": "1.8.6",
"dayjs": "1.11.13",
"dotenv": "16.4.5",
"google-protobuf": "3.21.4",
"graphql": "16.9.0",
"graphql-ws": "5.16.0",
"grpc-web": "1.5.0",
"is-url": "1.2.4",
"jwt-decode": "4.0.0",
"react": "18.3.1",
"react-cropper": "2.3.3",
"react-custom-scrollbars": "4.2.1",
"react-dom": "18.3.1",
"react-markdown": "9.0.1",
"react-otp-input": "3.1.1",
"react-router-dom": "6.27.0",
"react-router-prompt": "0.7.1",
"react-unity-webgl": "9.6.0",
"styled-components": "6.1.13",
"xlsx": "0.18.5"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/typescript-operations": "4.3.1",
"@graphql-codegen/typescript-react-apollo": "4.3.2",
"@playwright/test": "1.48.2",
"@types/is-url": "1.2.32",
"@types/node": "22.8.6",
"@types/react": "18.3.12",
"@types/react-custom-scrollbars": "4.0.13",
"@types/react-dom": "18.3.1",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.34",
"babel-plugin-styled-components": "2.1.4",
"cross-env": "7.0.3",
"customize-cra": "1.0.0",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"react-app-rewired": "2.2.1",
"react-scripts": "5.0.1",
"rimraf": "6.0.1",
"typescript": "5.6.3",
"web-vitals": "4.2.4",
"webpack-bundle-analyzer": "4.10.2",
"webpackbar": "6.0.1"
},
"peerDependencies": {
"electron": "33.0.2",
"electron-builder": "25.1.8"
},
"resolutions": {
"@babel/plugin-proposal-private-property-in-object": "7.21.11"
},
"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/**/*"
]
}
}