Skip to content

Commit

Permalink
Add prepack script to package.json to automate building when publishi…
Browse files Browse the repository at this point in the history
…ng package
  • Loading branch information
pokusew committed Jan 14, 2019
1 parent e5da27a commit ee5f700
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 @@ -46,6 +46,7 @@
"example-ndef": "node -r @babel/register examples/ndef.js",
"example-uid-logger": "node -r @babel/register examples/uid-logger.js",
"example-without-auto": "node -r @babel/register examples/without-auto.js",
"prepack": "yarn build && yarn test",
"test": "cross-env NODE_ENV=test ava test --verbose"
},
"dependencies": {
Expand Down

0 comments on commit ee5f700

Please sign in to comment.