Skip to content

Commit

Permalink
Add prepare hook to run build when installed as git depedency directly (
Browse files Browse the repository at this point in the history
#467)

Co-authored-by: Owen Wiggins <[email protected]>
  • Loading branch information
kindjie and Owen Wiggins authored Jun 23, 2024
1 parent 52f7579 commit 56ed974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"homepage": "https://github.com/jhlywa/chess.js",
"author": "Jeff Hlywa <[email protected]>",
"scripts": {
"prepare": "npm run build",
"build": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"check": "npm run format:check && npm run lint && npm run test && npm run build",
"clean": "rm -rf ./dist",
Expand Down

0 comments on commit 56ed974

Please sign in to comment.