Skip to content

Commit

Permalink
add release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Dec 13, 2017
1 parent 736280f commit d60f10d
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 @@ -5,9 +5,11 @@
"main": "dist/async-plugin.js",
"source": "async-plugin.js",
"scripts": {
"prepare": "npm t",
"build": "microbundle",
"test:build": "ln -fs ../node_modules test && preact build --cwd test && bundlesize -f 'test/build/bundle.*.js' -s 4.5kB",
"test": "eslint async-plugin.js && npm run -s build && npm run -s test:build"
"test": "eslint async-plugin.js && npm run -s build && npm run -s test:build",
"release": "npm run -s prepare && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"eslintConfig": {
"extends": "eslint-config-developit"
Expand Down

0 comments on commit d60f10d

Please sign in to comment.