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