-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
154 lines (154 loc) · 4.58 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": "eesast-web",
"description": "EESAST Web App",
"version": "2023.11.6",
"author": "EESAST",
"private": true,
"dependencies": {
"@ant-design/icons": "5.3.0",
"@apollo/client": "3.9.5",
"antd": "4.13.1",
"axios": "0.21.4",
"cos-js-sdk-v5": "1.6.0",
"dayjs": "1.11.10",
"docxtemplater": "3.46.0",
"dotenv": "16.4.5",
"file-saver": "2.0.5",
"google-protobuf": "3.21.2",
"graphql": "16.8.1",
"grpc-web": "1.5.0",
"is-url": "1.2.4",
"jwt-decode": "3.1.2",
"less": "4.2.0",
"less-loader": "7.3.0",
"lodash.get": "4.4.2",
"md2wx": "3.1.2",
"omit.js": "2.0.2",
"pizzip": "3.1.6",
"react": "17.0.2",
"react-custom-scrollbars": "4.2.1",
"react-device-detect": "2.2.3",
"react-dom": "17.0.2",
"react-google-recaptcha": "3.1.0",
"react-linkify": "1.0.0-alpha",
"react-router-dom": "6.22.1",
"react-unity-webgl": "9.5.0",
"styled-components": "6.1.8",
"subscriptions-transport-ws": "0.11.0",
"xlsx": "0.18.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typescript-operations": "4.2.0",
"@graphql-codegen/typescript-react-apollo": "4.3.0",
"@testing-library/react": "12.1.5",
"@types/file-saver": "2.0.7",
"@types/is-url": "1.2.32",
"@types/jest": "29.5.12",
"@types/jwt-decode": "2.2.1",
"@types/lodash.get": "4.4.9",
"@types/node": "20.11.20",
"@types/pizzip": "3.0.5",
"@types/react": "17.0.75",
"@types/react-custom-scrollbars": "4.0.13",
"@types/react-dom": "17.0.25",
"@types/react-google-recaptcha": "2.1.9",
"@types/react-linkify": "1.0.4",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.34",
"babel-plugin-import": "1.13.8",
"babel-plugin-import-graphql": "2.8.1",
"babel-plugin-styled-components": "2.1.4",
"cross-env": "7.0.3",
"customize-cra": "1.0.0",
"electron": "29.0.1",
"electron-builder": "24.12.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"react-app-rewired": "2.2.1",
"react-scripts": "4.0.3",
"rimraf": "5.0.5",
"typescript": "5.3.3",
"web-vitals": "3.5.2",
"webpack-bundle-analyzer": "4.10.1",
"webpackbar": "6.0.1"
},
"resolutions": {
"@types/react": "17.0.75",
"@typescript-eslint/parser": "6.21.0",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@babel/plugin-proposal-private-property-in-object": "7.21.11"
},
"scripts": {
"prepare": "husky install",
"postinstall": "electron-builder install-app-deps",
"eject": "react-app-rewired eject",
"generate": "graphql-codegen",
"prestart-to-be-resolved": "yarn generate",
"codegen": "yarn apollo client:codegen --target=typescript --outputFlat src/api/types.ts",
"codegen:watch": "yarn codegen --watch",
"start": "rimraf ./node_modules/.cache/babel-loader && react-app-rewired --openssl-legacy-provider start",
"start:old": "rimraf ./node_modules/.cache/babel-loader && react-app-rewired start",
"electron": "electron .",
"electron:dev": "electron . dev",
"electron:build": "electron-builder",
"test": "react-app-rewired test --transformIgnorePatterns \"node_modules/(?!antd|rc|css-animation|@ant-design/css-animation|@babel/runtime)\"",
"build:old": "cross-env GENERATE_SOURCEMAP=false react-app-rewired build",
"build": "cross-env GENERATE_SOURCEMAP=false react-app-rewired --openssl-legacy-provider build",
"analyze": "cross-env GENERATE_SOURCEMAP=false ANALYZER=true yarn build",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"typecheck": "tsc"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,yml,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/**/*"
]
}
}