Resolve "Output single file with all types"

This commit is contained in:
2025-05-18 04:49:34 +00:00
committed by Jim Hamill
parent 96a50f071d
commit 4c856f3c7d
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -10,8 +10,8 @@
"dist"
],
"scripts": {
"build": "tsc --build --clean && tsc --build",
"prepublishOnly": "npm run build",
"build": "tsc --build --clean && tsc --build && npm run build:types",
"build:types": "tsc --emitDeclarationOnly --outFile dist/types-bundled.d.ts",
"format": "prettier --write \"**/*.{js,ts,md,json}\" --ignore-path .gitignore",
"test": "vitest --run",
"test:coverage": "vitest run --coverage",
+2 -1
View File
@@ -21,7 +21,8 @@
],
"scripts": {
"bench": "vitest bench",
"build": "tsc --build --clean && tsc --build",
"build": "tsc --build --clean && tsc --build && npm run build:types",
"build:types": "tsc --emitDeclarationOnly --outFile dist/types-bundled.d.ts",
"format": "prettier --write \"**/*.{js,ts,md,json}\" --ignore-path .gitignore",
"prepublishOnly": "npm run build",
"test": "vitest --run",