chore: UPDATE

This commit is contained in:
草鞋没号 2021-11-01 16:49:28 +08:00
parent 5ad7bd26c9
commit 93fa203620
4 changed files with 2208 additions and 12 deletions

View File

@ -9,15 +9,30 @@
"build": "node -r ts-node/register scripts/build.ts"
},
"dependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"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": {
"@rolldown/core": "^0.1.2",
"@rollup/plugin-typescript": "^8.3.0",
"@swc/core": "^1.2.106",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@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",
"tslib": "^2.3.1",
"typescript": "^4.4.4",
"vite": "^2.6.13"
},
"env": {
"PORT": 3344,
"PORT_WS": 3355
}
}

View File

@ -3,8 +3,8 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"root/**": ["./**"],
"@/**": ["./react-ts/**"]
"root/*": ["./*"],
"@/*": ["./react-ts/*"]
}
}
}

View File

@ -2,12 +2,19 @@
"extends": "./paths.json",
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"allowJs": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"strict": true
"strict": true,
"jsx": "react-jsx"
},
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
}
}
}

2188
yarn.lock

File diff suppressed because it is too large Load Diff