forked from eesast/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 3.92 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
{
"name": "eesast-web",
"description": "EESAST Web App",
"version": "2024.0.0",
"author": "EESAST",
"private": true,
"dependencies": {
"@ant-design/pro-components": "2.7.1",
"@apollo/client": "3.10.1",
"antd": "5.16.4",
"axios": "1.6.8",
"cos-js-sdk-v5": "1.7.1",
"dayjs": "1.11.10",
"docxtemplater": "3.47.1",
"dotenv": "16.4.5",
"file-saver": "2.0.5",
"google-protobuf": "3.21.2",
"graphql": "16.8.1",
"graphql-ws": "5.16.0",
"grpc-web": "1.5.0",
"is-url": "1.2.4",
"jwt-decode": "4.0.0",
"lodash.get": "4.4.2",
"pizzip": "3.1.7",
"react": "18.3.0",
"react-custom-scrollbars": "4.2.1",
"react-dom": "18.3.0",
"react-markdown": "9.0.1",
"react-otp-input": "3.1.1",
"react-router-dom": "6.23.0",
"react-router-prompt": "0.7.0",
"react-unity-webgl": "9.5.2",
"styled-components": "6.1.8",
"xlsx": "0.18.5"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typescript-operations": "4.2.0",
"@graphql-codegen/typescript-react-apollo": "4.3.0",
"@playwright/test": "1.43.1",
"@types/file-saver": "2.0.7",
"@types/is-url": "1.2.32",
"@types/lodash.get": "4.4.9",
"@types/node": "20.12.7",
"@types/pizzip": "3.0.5",
"@types/react": "18.3.0",
"@types/react-custom-scrollbars": "4.0.13",
"@types/react-dom": "18.3.0",
"@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.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"react-app-rewired": "2.2.1",
"react-scripts": "5.0.1",
"rimraf": "5.0.5",
"typescript": "5.4.5",
"web-vitals": "3.5.2",
"webpack-bundle-analyzer": "4.10.2",
"webpackbar": "6.0.1"
},
"peerDependencies": {
"electron": "30.0.1",
"electron-builder": "24.13.3"
},
"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/**/*"
]
}
}