Skip to content

Commit 2580ebe

Browse files
committed
Refactor prepublish script to remove type declaration build step
1 parent d1a6456 commit 2580ebe

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
"scripts": {
1717
"commit": "lint-staged && git-cz -n",
1818
"build": "vite build",
19-
"build:types": "tsc --emitDeclarationOnly",
2019
"dev": "vite",
2120
"preview": "vite preview",
22-
"prepublish": "rimraf dist && npm run build && npm run build:types",
21+
"prepublishOnly": "rimraf dist && npm run build",
2322
"coverage": "vitest run --coverage",
2423
"lint": "eslint --fix src test",
2524
"test": "vitest",
@@ -72,4 +71,4 @@
7271
"vite": "^6.1.0",
7372
"vitest": "^3.0.5"
7473
}
75-
}
74+
}

0 commit comments

Comments
 (0)