nwb icon indicating copy to clipboard operation
nwb copied to clipboard

Add preversion and version scripts to package.json for

Open aholachek opened this issue 6 years ago • 0 comments

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.

aholachek avatar Jul 03 '18 01:07 aholachek