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"
|
"build": "tsc --project src/renderer/tsconfig.json && node scripts/build.mjs && electron-builder"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.17.0"
|
"node": ">=16.9.1"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"electron-store": "^8.0.1"
|
|
||||||
},
|
},
|
||||||
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"electron-store": "^8.0.1",
|
||||||
"@types/react": "^17.0.38",
|
"@types/react": "^17.0.38",
|
||||||
"@types/react-dom": "^17.0.11",
|
"@types/react-dom": "^17.0.11",
|
||||||
"@vitejs/plugin-react": "^1.1.4",
|
"@vitejs/plugin-react": "^1.1.4",
|
||||||
"antd": "^4.18.5",
|
|
||||||
"electron": "16.0.8",
|
"electron": "16.0.8",
|
||||||
"electron-builder": "^22.14.5",
|
"electron-builder": "^22.14.5",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
|
@ -33,4 +31,4 @@
|
||||||
"HOST": "127.0.0.1",
|
"HOST": "127.0.0.1",
|
||||||
"PORT": 3344
|
"PORT": 3344
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -3,10 +3,8 @@ process.env.NODE_ENV = 'production'
|
||||||
import { dirname, join } from 'path'
|
import { dirname, join } from 'path'
|
||||||
import { fileURLToPath } from 'url'
|
import { fileURLToPath } from 'url'
|
||||||
import { build } from 'vite'
|
import { build } from 'vite'
|
||||||
import chalk from 'chalk'
|
|
||||||
|
|
||||||
const __dirname = dirname(fileURLToPath(import.meta.url))
|
const __dirname = dirname(fileURLToPath(import.meta.url))
|
||||||
const TAG = chalk.bgBlue(' build.mjs ')
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {Record<string, import('vite').InlineConfig>}
|
* @type {Record<string, import('vite').InlineConfig>}
|
||||||
|
|
Loading…
Reference in New Issue