aboutsummaryrefslogtreecommitdiffstats
path: root/packages/main
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-28 14:06:16 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-12-28 14:17:12 +0100
commit79365dc90e2272c209c68d9c05e3681bebaf0704 (patch)
tree24258ac7be00d207020f07d2b98dc26da470175e /packages/main
parentrefactor: Functional design for controllers (diff)
downloadsophie-79365dc90e2272c209c68d9c05e3681bebaf0704.tar.gz
sophie-79365dc90e2272c209c68d9c05e3681bebaf0704.tar.zst
sophie-79365dc90e2272c209c68d9c05e3681bebaf0704.zip
build: Simplify type declaration generation
Diffstat (limited to 'packages/main')
-rw-r--r--packages/main/package.json2
-rw-r--r--packages/main/tsconfig.json5
2 files changed, 2 insertions, 5 deletions
diff --git a/packages/main/package.json b/packages/main/package.json
index 48268fb..b93dec0 100644
--- a/packages/main/package.json
+++ b/packages/main/package.json
@@ -5,7 +5,7 @@
5 "main": "dist/index.cjs", 5 "main": "dist/index.cjs",
6 "types": "dist-types/index.d.ts", 6 "types": "dist-types/index.d.ts",
7 "scripts": { 7 "scripts": {
8 "clean": "rimraf dist dist-types tsconfig.tsbuildinfo", 8 "clean": "rimraf dist tsconfig.tsbuildinfo",
9 "build": "vite build", 9 "build": "vite build",
10 "typecheck": "tsc" 10 "typecheck": "tsc"
11 }, 11 },
diff --git a/packages/main/tsconfig.json b/packages/main/tsconfig.json
index 2529709..6387562 100644
--- a/packages/main/tsconfig.json
+++ b/packages/main/tsconfig.json
@@ -1,10 +1,7 @@
1{ 1{
2 "extends": "../../tsconfig.json", 2 "extends": "../../tsconfig.json",
3 "compilerOptions": { 3 "compilerOptions": {
4 "composite": true, 4 "noEmit": true,
5 "declarationDir": "dist-types",
6 "emitDeclarationOnly": true,
7 "rootDir": "src",
8 "types": [ 5 "types": [
9 "node", 6 "node",
10 "vite/client" 7 "vite/client"