Skip to content

Commit

Permalink
(fix): Add a prepare script
Browse files Browse the repository at this point in the history
Closes #67 
adding a `prepare` script will ensure that `yarn build` will run before publishing the package.
  • Loading branch information
Naturalclar committed Feb 22, 2020
1 parent f5bd298 commit 3ceda65
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 @@ -5,6 +5,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"prepare": "yarn build",
"build": "tsc",
"test": "jest",
"lint": "eslint src/**/*.ts",
Expand Down

0 comments on commit 3ceda65

Please sign in to comment.