publish tweaks

This commit is contained in:
Matthias Kretschmann 2020-06-11 15:09:20 +02:00
parent e91ac7af4b
commit 9349d0710e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 25 additions and 5 deletions

6
.prettierrc Normal file
View File

@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 2
}

View File

@ -1,13 +1,12 @@
{
"name": "@oceanprotocol/art",
"version": "2.2.0",
"description": "Ocean Protocol's assets for community distribution.",
"description": "Ocean Protocol's brand assets for community distribution.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"release": "./node_modules/release-it/bin/release-it.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
"release-major": "./node_modules/release-it/bin/release-it.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive"
"release": "release-it",
"changelog": "auto-changelog -p"
},
"repository": {
"type": "git",
@ -20,6 +19,21 @@
},
"homepage": "https://oceanprotocol.com",
"devDependencies": {
"release-it": "^8.0.1"
"auto-changelog": "^2.0.0",
"release-it": "^13.6.2"
},
"release-it": {
"hooks": {
"after:bump": "npm run changelog"
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true
}
}
}