chore: UPDATE
This commit is contained in:
parent
5ad7bd26c9
commit
93fa203620
17
package.json
17
package.json
|
@ -9,15 +9,30 @@
|
||||||
"build": "node -r ts-node/register scripts/build.ts"
|
"build": "node -r ts-node/register scripts/build.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@rollup/plugin-commonjs": "^21.0.1",
|
||||||
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2"
|
"react-dom": "^17.0.2",
|
||||||
|
"rollup": "^2.59.0",
|
||||||
|
"rollup-plugin-swc": "^0.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@rolldown/core": "^0.1.2",
|
||||||
|
"@rollup/plugin-typescript": "^8.3.0",
|
||||||
|
"@swc/core": "^1.2.106",
|
||||||
"@types/react": "^17.0.33",
|
"@types/react": "^17.0.33",
|
||||||
"@types/react-dom": "^17.0.10",
|
"@types/react-dom": "^17.0.10",
|
||||||
"@vitejs/plugin-react": "^1.0.7",
|
"@vitejs/plugin-react": "^1.0.7",
|
||||||
|
"electron": "^15.3.0",
|
||||||
|
"electron-builder": "^22.13.1",
|
||||||
|
"electron-store": "^8.0.1",
|
||||||
"ts-node": "^10.4.0",
|
"ts-node": "^10.4.0",
|
||||||
|
"tslib": "^2.3.1",
|
||||||
"typescript": "^4.4.4",
|
"typescript": "^4.4.4",
|
||||||
"vite": "^2.6.13"
|
"vite": "^2.6.13"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"PORT": 3344,
|
||||||
|
"PORT_WS": 3355
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"root/**": ["./**"],
|
"root/*": ["./*"],
|
||||||
"@/**": ["./react-ts/**"]
|
"@/*": ["./react-ts/*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,12 +2,19 @@
|
||||||
"extends": "./paths.json",
|
"extends": "./paths.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
|
"module": "ESNext",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"skipDefaultLibCheck": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "Node",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"strict": true,
|
||||||
"strict": true
|
"jsx": "react-jsx"
|
||||||
|
},
|
||||||
|
"ts-node": {
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "CommonJS"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue