Skip to content

Commit

Permalink
chore: add prepack hook
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed May 17, 2023
1 parent 4e9f355 commit 21fdbde
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"build": "rollup -c --environment NODE_ENV:production",
"dev-build": "rollup -cw",
"test": "vitest",
"lint": "eslint --cache ."
"lint": "eslint --cache .",
"prepack": "pnpm build && clean-pkg-json -k unpkg"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
Expand All @@ -48,6 +49,7 @@
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-terser": "^0.4.2",
"@vue/test-utils": "^1.3.5",
"clean-pkg-json": "^1.2.0",
"core-js": "^3.30.2",
"eslint": "^8.40.0",
"jsdom": "^22.0.0",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21fdbde

Please sign in to comment.