nwb
nwb copied to clipboard
Add preversion and version scripts to package.json for
This issue is a:
- Feature request
Thanks for making this super useful tool.
I think it would be very convenient to add the following scripts to package.json
for projects that will be published to npm:
"preversion": "npm test",
"version": "yarn run build"
to ensure that users don't accidentally publish anything with failing tests, and that the build is always up to date with the latest version. Documentation for these scripts can be found here.