forked from OtterMind/Chat2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.25 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 4.25 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
{
"name": "chat2db",
"version": "1.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/chat2db/Chat2DB"
},
"author": "fjy, hexi",
"main": "src/main/main.js",
"scripts": {
"build": "npm run build:web && npm run build:main",
"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:prod": "npm run build:web:prod && npm run build:main:prod",
"build:web": "umi build",
"build:web:desktop": "cross-env UMI_ENV=desktop cross-env APP_VERSION=${npm_config_app_version} cross-env APP_PORT=${npm_config_app_port} umi build",
"build:web:prod": "cross-env UMI_ENV=prod cross-env APP_VERSION=${npm_config_app_version} cross-env APP_PORT=${npm_config_app_port} cross-env UMI_PublicPath=${npm_config_public_path} 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": "cross-env UMI_ENV=local HMR=none cross-env APP_VERSION=${npm_config_app_version} umi dev",
"start:web:hot": "cross-env UMI_ENV=local cross-env APP_VERSION=${npm_config_app_version} umi dev"
},
"dependencies": {
"@dnd-kit/modifiers": "^6.0.1",
"ahooks": "^3.7.8",
"ali-react-table": "^2.6.1",
"antd": "^5.12.1",
"copy-to-clipboard": "^3.3.3",
"echarts": "^5.4.2",
"echarts-for-react": "^3.0.2",
"event-source-polyfill": "^1.0.31",
"highlight.js": "^11.9.0",
"lodash": "^4.17.21",
"lucide-react": "^0.365.0",
"markdown-it-link-attributes": "^4.0.1",
"monaco-editor": "^0.44.0",
"monaco-editor-esm-webpack-plugin": "^2.1.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"react-monaco-editor": "^0.54.0",
"react-sortablejs": "^6.1.4",
"sql-formatter": "^13.0.4",
"styled-components": "^6.0.1",
"umi": "^4.0.87",
"umi-request": "^1.4.0",
"uuid": "^9.0.0",
"zustand": "^4.4.4"
},
"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",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@umijs/plugins": "^4.0.55",
"concurrently": "^8.1.0",
"cross-env": "^7.0.3",
"electron": "^22.3.0",
"electron-builder": "^23.6.0",
"electron-debug": "^3.2.0",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-webpack": "^0.13.7",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"is-electron": "^2.2.2",
"prettier": "^2",
"prettier-plugin-organize-imports": "^2",
"prettier-plugin-packagejson": "^2",
"tailwindcss": "^3",
"typescript": "^5.0.3"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"engines": {
"node": ">=16"
},
"build": {
"appId": "com.chat2db",
"directories": {
"output": "release/"
},
"productName": "Chat2DB",
"asar": false,
"files": [
"dist/**/*",
"src/main",
"static/",
"versions/**/*",
"package.json",
"!node_modules/**/*"
],
"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.ico"
},
"linux": {
"maintainer": "Chat2DB, huanyueyaoqin@qq.com",
"category": "Network;",
"target": [
"AppImage"
]
}
}
}