1
0
mirror of https://github.com/oceanprotocol/art synced 2024-11-21 17:27:02 +01:00

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", "name": "@oceanprotocol/art",
"version": "2.2.0", "version": "2.2.0",
"description": "Ocean Protocol's assets for community distribution.", "description": "Ocean Protocol's brand assets for community distribution.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "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": "release-it",
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive", "changelog": "auto-changelog -p"
"release-major": "./node_modules/release-it/bin/release-it.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -20,6 +19,21 @@
}, },
"homepage": "https://oceanprotocol.com", "homepage": "https://oceanprotocol.com",
"devDependencies": { "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
}
} }
} }