Skip to content

Commit

Permalink
Add release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jun 12, 2021
1 parent 6104ccf commit edca9d6
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 @@ -47,6 +47,8 @@
"watch": "rollup -wc",
"start": "node src/tests/runner.js serveOnly",
"test": "NODE_OPTIONS=--inspect node src/tests/runner.js",
"test:win": "SET NODE_OPTIONS=--inspect & node src/tests/runner.js"
"test:win": "SET NODE_OPTIONS=--inspect & node src/tests/runner.js",
"prerelease": "yarn build && git --no-pager diff && echo && npm pack --dry-run && echo && read -n 1 -p \"Look OK? Press any key to publish and commit v$npm_package_version\" && echo",
"release": "npm publish && git commit -am \"$npm_package_name v$npm_package_version\" && git push"
}
}

0 comments on commit edca9d6

Please sign in to comment.