Update package.json
This commit is contained in:
parent
545e4159f5
commit
32fd67dbbf
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
|
@ -10,16 +10,14 @@
|
|||
"build": "tsc --project src/renderer/tsconfig.json && node scripts/build.mjs && electron-builder"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.17.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-store": "^8.0.1"
|
||||
"node": ">=16.9.1"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"electron-store": "^8.0.1",
|
||||
"@types/react": "^17.0.38",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@vitejs/plugin-react": "^1.1.4",
|
||||
"antd": "^4.18.5",
|
||||
"electron": "16.0.8",
|
||||
"electron-builder": "^22.14.5",
|
||||
"react": "^17.0.2",
|
||||
|
@ -33,4 +31,4 @@
|
|||
"HOST": "127.0.0.1",
|
||||
"PORT": 3344
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,10 +3,8 @@ process.env.NODE_ENV = 'production'
|
|||
import { dirname, join } from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { build } from 'vite'
|
||||
import chalk from 'chalk'
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||
const TAG = chalk.bgBlue(' build.mjs ')
|
||||
|
||||
/**
|
||||
* @type {Record<string, import('vite').InlineConfig>}
|
||||
|
|
Loading…
Reference in New Issue