Resolve "Output single file with all types"
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user