Skip to content

Commit

Permalink
Add prepublishOnly and postpack scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoss18 committed Jul 3, 2023
1 parent 375408b commit b7e8d38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"test": "jest -i --restoreMocks",
"unit-test": "jest --testPathPattern=tests/unit",
"integration-test": "jest --testPathPattern=tests/integration",
"lint": "eslint lib/** tests/**"
"lint": "eslint lib/** tests/**",
"prepublishOnly": "npm run test && npm run build",
"postpack": "git tag -a $npm_package_version -m $npm_package_version && git push origin $npm_package_version"
},
"dependencies": {
"@dxfeed/api": "^1.1.0",
Expand Down

0 comments on commit b7e8d38

Please sign in to comment.