forked from luciSupe/Chat2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.07 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
{
"name": "chat2db",
"version": "1.0.0",
"private": true,
"author": "fjy, hexi",
"main": "src/main/index.js",
"repository": {
"type": "git",
"url": "https://github.com/chat2db/Chat2DB"
},
"scripts": {
"build": "npm run build:web && npm run build:main",
"build:prod": "npm run build:web:prod && npm run build:main:prod",
"build:desktop": "npm run build:web:desktop && npm run build:main:prod",
"build:main": "cross-env NODE_ENV=development electron-builder",
"build:main:prod": "cross-env NODE_ENV=production electron-builder",
"build:web": "umi build",
"build:web:desktop": "cross-env UMI_ENV=desktop APP_VERSION=${npm_config_appVersion} cross-env APP_PORT=${npm_config_appPort} umi build",
"build:web:prod": "cross-env UMI_ENV=prod cross-env APP_VERSION=${npm_config_appVersion} cross-env APP_PORT=${npm_config_appPort} umi build",
"postinstall": "umi setup",
"lint": "umi lint",
"start": "concurrently \"npm run start:web\" \"npm run start:main\"",
"start:main": "cross-env NODE_ENV=development electron .",
"start:main:prod": "cross-env NODE_ENV=production electron .",
"start:web": "umi dev"
},
"dependencies": {
"ahooks": "^3.7.7",
"antd": "^5.6.0",
"echarts": "^5.4.2",
"echarts-for-react": "^3.0.2",
"event-source-polyfill": "^1.0.31",
"lodash": "^4.17.21",
"markdown-it-link-attributes": "^4.0.1",
"monaco-editor": "^0.34.0",
"monaco-editor-esm-webpack-plugin": "^2.1.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"react-monaco-editor": "^0.52.0",
"react-sortablejs": "^6.1.4",
"sql-formatter": "^12.2.1",
"umi": "^4.0.70",
"umi-request": "^1.4.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/event-source-polyfill": "^1.0.1",
"@types/lodash": "^4.14.195",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@types/uuid": "^9.0.1",
"@umijs/plugins": "^4.0.55",
"concurrently": "^8.1.0",
"cross-env": "^7.0.3",
"electron": "^25.0.1",
"electron-builder": "^23.6.0",
"electron-debug": "^3.2.0",
"electron-reload": "^2.0.0-alpha.1",
"is-electron": "^2.2.2",
"prettier": "^2",
"prettier-plugin-organize-imports": "^2",
"prettier-plugin-packagejson": "^2",
"typescript": "^5.0.3"
},
"build": {
"appId": "com.chat2db",
"directories": {
"output": "release/"
},
"productName": "Chat2DB",
"asar": false,
"files": [
"dist/**/*",
"!node_modules",
"static/",
"src/main",
"package.json"
],
"nsis": {
"oneClick": false,
"perMachine": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"deleteAppDataOnUninstall": false,
"shortcutName": "Chat2DB"
},
"mac": {
"icon": "src/assets/logo/logo.icns",
"target": [
"zip",
"dmg"
]
},
"win": {
"target": [
{
"target": "nsis"
}
],
"publisherName": "Chat2DB",
"icon": "src/assets/logo/logo.png"
}
}
}