chore: UPDATE
This commit is contained in:
		
							parent
							
								
									2dd8f3bf5a
								
							
						
					
					
						commit
						9409b56c0d
					
				| 
						 | 
				
			
			@ -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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
    "baseUrl": ".",
 | 
			
		||||
    "paths": {
 | 
			
		||||
      "root/*": ["./*"],
 | 
			
		||||
      "@/*": ["./react-ts/*"]
 | 
			
		||||
      "@/*": ["src/react-ts/*"]
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue