chore(package.json): script cleanup and addition of preRelease script
This commit is contained in:
@@ -60,11 +60,13 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"build:watch": "tsc --watch",
|
"build:watch": "tsc --watch",
|
||||||
"check": "pnpm lint && pnpm typecheck",
|
"check": "pnpm run lint && pnpm run typecheck",
|
||||||
|
"clean": "shx rm -rf dist/",
|
||||||
"docs:generate": "typedoc",
|
"docs:generate": "typedoc",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --check .",
|
||||||
"lint": "eslint --cache .",
|
"lint": "eslint --cache .",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
|
"prepublishOnly": "pnpm run clean && pnpm run build",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user