Skip to content

Commit

Permalink
Add prepublishOnly.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jan 3, 2025
1 parent bce0866 commit 5a7a145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ reset: clean
.PHONY: publish
publish:
npm publish

.PHONY: prepublishOnly
prepublishOnly: lint
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"default": "./ts/index.ts"
}
},
"scripts": { "prepublishOnly": "make prepublishOnly" },
"bugs": {
"url": "https://github.com/cubing/icons.git/issues"
},
Expand Down

0 comments on commit 5a7a145

Please sign in to comment.