This commit is contained in:
Robert Long 2019-01-24 14:23:37 -08:00
Родитель 8cecb7b828
Коммит 9511bfa146
1 изменённых файлов: 15 добавлений и 1 удалений

Просмотреть файл

@ -27,7 +27,7 @@
"dev": "cross-env NODE_ENV=development node ./bin/spoke --no-open example",
"build": "cross-env NODE_ENV=production webpack --mode production",
"binaries": "npm run build && node package.js",
"beforeStart": "npm run test",
"beforeStart": "npm run test && rimraf ./release",
"beforeBump": "npm run binaries",
"release": "release-it",
"after-release": "rimraf ./release",
@ -37,6 +37,20 @@
"test:unit": "ava",
"test:integration": "node ./test/integration/index.js"
},
"release-it": {
"npm": {
"publish": false
},
"git": {
"commitMessage": "v${version}",
"tagName": "v${version}"
},
"github": {
"release": true,
"assets": ["release/*.zip"],
"tokenRef": "SPOKE_GITHUB_TOKEN"
}
},
"ava": {
"files": [
"./test/unit"