diff options
Diffstat (limited to 'packages/main')
-rw-r--r-- | packages/main/package.json | 3 | ||||
-rw-r--r-- | packages/main/tsconfig.json | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/main/package.json b/packages/main/package.json index 1f5e749..509acdc 100644 --- a/packages/main/package.json +++ b/packages/main/package.json | |||
@@ -3,7 +3,9 @@ | |||
3 | "version": "0.1.0", | 3 | "version": "0.1.0", |
4 | "private": true, | 4 | "private": true, |
5 | "main": "dist/index.cjs", | 5 | "main": "dist/index.cjs", |
6 | "types": "dist-types/index.d.ts", | ||
6 | "scripts": { | 7 | "scripts": { |
8 | "clean": "rimraf dist dist-types tsconfig.tsbuildinfo", | ||
7 | "build": "vite build", | 9 | "build": "vite build", |
8 | "typecheck": "tsc" | 10 | "typecheck": "tsc" |
9 | }, | 11 | }, |
@@ -17,6 +19,7 @@ | |||
17 | "@types/electron-devtools-installer": "^2.2.0", | 19 | "@types/electron-devtools-installer": "^2.2.0", |
18 | "@types/node": "^17.0.4", | 20 | "@types/node": "^17.0.4", |
19 | "electron-devtools-installer": "^3.2.0", | 21 | "electron-devtools-installer": "^3.2.0", |
22 | "rimraf": "^3.0.2", | ||
20 | "typescript": "^4.5.4", | 23 | "typescript": "^4.5.4", |
21 | "vite": "^2.7.6" | 24 | "vite": "^2.7.6" |
22 | } | 25 | } |
diff --git a/packages/main/tsconfig.json b/packages/main/tsconfig.json index 970215c..5afee21 100644 --- a/packages/main/tsconfig.json +++ b/packages/main/tsconfig.json | |||
@@ -1,7 +1,10 @@ | |||
1 | { | 1 | { |
2 | "extends": "../../tsconfig.json", | 2 | "extends": "../../tsconfig.json", |
3 | "compilerOptions": { | 3 | "compilerOptions": { |
4 | "noEmit": true, | 4 | "composite": true, |
5 | "declarationDir": "dist-types", | ||
6 | "emitDeclarationOnly": true, | ||
7 | "rootDir": "src", | ||
5 | "types": [ | 8 | "types": [ |
6 | "node", | 9 | "node", |
7 | "vite/client" | 10 | "vite/client" |