Skip to content

Commit

Permalink
Before publish run build command (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
okoala authored Dec 3, 2017
1 parent f138919 commit e7b1ae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
"cacheDir": ".changelog"
},
"commands": {
"build": {
"scope": ["avet-shared", "avet-client"]
},
"publish": {
"ignore": []
}
},
"packages": [
"packages/*"
]
"npmClient": "npm",
"packages": ["packages/*"]
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"private": true,
"scripts": {
"dev": "lerna bootstrap",
"build":
"lerna exec --ignore avet-boilerplate* avet-init* --bail --parallel -- npm run build --",
"release": "npm run changelog && lerna publish",
"changelog": "lerna-changelog",
"build": "lerna run build",
"publish": "lerna publish",
"debug": "lerna run debug",
"release": "npm run changelog && npm run build && npm run publish",
"lint": "eslint --ext .js packages",
"doc:start":
"cross-env NODE_ENV=development && bisheng start -c ./site/bisheng.config.js",
Expand Down

0 comments on commit e7b1ae8

Please sign in to comment.