fix tsconfig, emit logs in dev
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "tsx ./src/bin.ts",
|
"start": "tsx ./src/bin.ts",
|
||||||
"dev": "node --watch-path ./src --import tsx ./src/bin.ts",
|
"dev": "LOG_ENABLED=true LOG_LEVEL=debug node --watch-path ./src --import tsx ./src/bin.ts",
|
||||||
"build": "tsc && cp -r src/assets dist/",
|
"build": "tsc && cp -r src/assets dist/",
|
||||||
"install-fonts": "tsx scripts/install-fonts.ts",
|
"install-fonts": "tsx scripts/install-fonts.ts",
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
|
|||||||
@@ -10,5 +10,5 @@
|
|||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"skipLibCheck": true
|
"skipLibCheck": true
|
||||||
},
|
},
|
||||||
"include": ["./src/index.ts", "./src/bin.ts"]
|
"include": ["./src/**/*"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user