Commit a2bb542f authored by Tim Neutkens's avatar Tim Neutkens

Allow publishing the master branch using Lerna

parent 7d6eb38f
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
"publish": { "publish": {
"npmClient": "npm", "npmClient": "npm",
"allowBranch": "canary", "allowBranch": ["master", "canary"],
"registry": "https://registry.npmjs.org/" "registry": "https://registry.npmjs.org/"
} }
}, },
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"typescript": "lerna run typescript", "typescript": "lerna run typescript",
"prepublish": "lerna run prepublish", "prepublish": "lerna run prepublish",
"publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre", "publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
"publish-stable": "lerna version --force-publish",
"lint-staged": "lint-staged" "lint-staged": "lint-staged"
}, },
"pre-commit": "lint-staged", "pre-commit": "lint-staged",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment