diff --git a/package.json b/package.json index 99ec4ab..1d17c6c 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,14 @@ "scripts": { "build": "tsdown", "changelog": "changelogen", - "check": "npm run format:check && npm run lint && npm run typecheck", + "check": "pnpm run format:check && pnpm run lint && pnpm run typecheck", "dev": "tsx src/cli.ts", "format:check": "oxfmt . --check", "format": "oxfmt . --write", "lint:fix": "oxlint . --fix", "lint": "oxlint .", "prepare": "husky", - "release": "changelogen --release --push --noAuthors", + "release": "pnpm check && changelogen --release --push --noAuthors && pnpm publish", "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": {