Skip to content

Commit

Permalink
set up publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed Jul 26, 2018
1 parent 1a9fe46 commit 6eb8695
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 8 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@
],
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
"useWorkspaces": true,
"loglevel": "success",
"command": {
"publish": {
"allowBranch": "master",
"conventionalCommits": true
}
}
}
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"scripts": {
"bootstrap": "lerna bootstrap && lerna link --force-local",
"bootstrap": "yarn && lerna bootstrap",
"start": "npm run bootstrap && npm run watch",
"watch": "lerna run watch --parallel",
"build": "npm run clean && cross-env lerna run build",
"build": "npm run clean && lerna run build",
"clean": "rimraf packages/*/dist",
"reset": "npm run clean && lerna clean --yes",
"test": "cross-env NODE_ENV=test jest --no-cache"
"test": "cross-env NODE_ENV=test jest --no-cache",
"dryrun": "lerna publish --skip-npm --skip-git",
"publish": "npm run bootstrap && npm run build && lerna publish"
},
"browserslist": [
"last 2 Chrome versions",
Expand Down

0 comments on commit 6eb8695

Please sign in to comment.