Lerna publish commands

This commit is contained in:
Zalmoxisus 2018-12-11 02:28:55 +02:00
parent bd0ca28e95
commit 2b4af4e38e
2 changed files with 17 additions and 2 deletions

View File

@ -1,6 +1,16 @@
{
"lerna": "3.4.2",
"version": "3.0.0",
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
"useWorkspaces": true,
"command": {
"publish": {
"allowBranch": "master"
}
},
"ignoreChanges": [
"**/test/**",
"**/examples/**",
"**/*.md"
]
}

View File

@ -4,6 +4,11 @@
"lerna": "3.4.2"
},
"scripts": {
"lerna": "lerna",
"prepublishOnly": "lerna run prepublishOnly",
"publish": "lerna publish",
"canary": "lerna publish --canary preminor --npm-tag alpha",
"next": "lerna publish --bump prerelease --npm-tag next",
"lint": "lerna run lint --since master -- --color",
"lint:all": "lerna run lint -- --color",
"test": "lerna run test --since master -- --colors",