1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Allow publishing the master branch using Lerna

This commit is contained in:
Tim Neutkens 2019-02-11 08:44:28 +01:00
parent 7d6eb38f79
commit a2bb542f39
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@
},
"publish": {
"npmClient": "npm",
"allowBranch": "canary",
"allowBranch": ["master", "canary"],
"registry": "https://registry.npmjs.org/"
}
},

View file

@ -19,6 +19,7 @@
"typescript": "lerna run typescript",
"prepublish": "lerna run prepublish",
"publish-canary": "lerna version prerelease --preid canary --force-publish && release --pre",
"publish-stable": "lerna version --force-publish",
"lint-staged": "lint-staged"
},
"pre-commit": "lint-staged",