|
7 | 7 | "url": "https://github.com/chat2db/Chat2DB" |
8 | 8 | }, |
9 | 9 | "author": "fjy, hexi", |
10 | | - "main": "src/main/index.js", |
| 10 | + "main": "src/main/dist/index.js", |
11 | 11 | "scripts": { |
12 | 12 | "build": "npm run build:web && npm run build:main", |
13 | 13 | "build:desktop": "npm run build:web:desktop && npm run build:main:prod", |
|
33 | 33 | "copy-to-clipboard": "^3.3.3", |
34 | 34 | "echarts": "^5.4.2", |
35 | 35 | "echarts-for-react": "^3.0.2", |
36 | | - "electron-log": "^4.4.8", |
37 | | - "electron-store": "^8.1.0", |
38 | 36 | "event-source-polyfill": "^1.0.31", |
39 | 37 | "highlight.js": "^11.9.0", |
40 | 38 | "lodash": "^4.17.21", |
41 | 39 | "markdown-it-link-attributes": "^4.0.1", |
42 | 40 | "monaco-editor": "^0.44.0", |
43 | 41 | "monaco-editor-esm-webpack-plugin": "^2.1.0", |
44 | 42 | "monaco-editor-webpack-plugin": "^7.0.1", |
45 | | - "node-machine-id": "^1.1.12", |
46 | 43 | "react-monaco-editor": "^0.54.0", |
47 | 44 | "react-sortablejs": "^6.1.4", |
48 | 45 | "sql-formatter": "^13.0.4", |
|
99 | 96 | "asar": false, |
100 | 97 | "files": [ |
101 | 98 | "dist/**/*", |
102 | | - "static/", |
103 | 99 | "src/main", |
104 | 100 | "versions/**/*", |
105 | 101 | "package.json", |
106 | 102 | "!node_modules/**/*" |
107 | 103 | ], |
108 | | - "externals": [ |
109 | | - "electron-store", |
110 | | - "uuid", |
111 | | - "electron-log", |
112 | | - "node-machine-id" |
113 | | - ], |
114 | 104 | "nsis": { |
115 | 105 | "oneClick": false, |
116 | 106 | "perMachine": false, |
|
0 commit comments