chore: UPDATE

This commit is contained in:
草鞋没号 committed 2021-11-08 19:17:58 +08:00
1 parent 2dd8f3bf5a
commit 9409b56c0d
3 files changed
+7 -4

No files matched your search

+3 -3
View File
@@ -4,10 +4,10 @@
"description": "Electron React Vite boilerplate.",
"author": "草鞋没号 <308487730@qq.com>",
"license": "MIT",
"main": "dist/main/index.js",
"main": "dist/main/index.cjs",
"scripts": {
"dev": "node -r ts-node/register scripts/dev.ts",
"build": "node -r ts-node/register scripts/build.ts"
"dev": "node scripts/watch.mjs",
"build": "node scripts/build.mjs"
},
"engines": {
"node": ">=14.17.0"
+1 -1
View File
@@ -4,7 +4,7 @@
"baseUrl": ".",
"paths": {
"root/*": ["./*"],
"@/*": ["./react-ts/*"]
"@/*": ["src/react-ts/*"]
}
}
}
Vendored
+3
View File
@@ -3,5 +3,8 @@ declare namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production'
readonly PORT: string
readonly HOST: string
readonly PORT: number
readonly PORT_WS: number
}
}