Add standalone binary dist

This commit is contained in:
Anton Medvedev 2018-01-27 06:44:19 +07:00
parent cd2f03ad5e
commit df1cbbc2f1
2 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/node_modules/
/dist/
package-lock.json

View File

@ -12,7 +12,8 @@
"index.js"
],
"scripts": {
"test": "ava"
"test": "ava",
"release": "pkg . --out-path dist && release-it --github.release --github.assets=dist/*"
},
"keywords": [
"json",
@ -27,6 +28,8 @@
"meow": "^4.0.0"
},
"devDependencies": {
"ava": "^0.24.0"
"ava": "^0.24.0",
"pkg": "^4.3.0",
"release-it": "^6.1.1"
}
}