Skip to content

Commit

Permalink
Add new package.json scripts for yarn start
Browse files Browse the repository at this point in the history
As a developer, I'd like the option to quickly start the
`example-browser` and `example-electron` applications from
the root of the main repo. Added the `rebuild` for both
cases to seemingly switch between the two targets.

Signed-off-by: Vincent Fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Sep 20, 2019
1 parent 657bda8 commit d4728ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
"publish:latest": "lerna publish && yarn publish:check",
"publish:next": "yarn next:publish && yarn next:publish --skip-npm && yarn publish:check",
"next:publish": "lerna publish --exact --canary=next --npm-tag=next --yes",
"publish:check": "node scripts/check-publish.js"
"publish:check": "node scripts/check-publish.js",
"start:browser": "yarn rebuild:browser && run start \"@theia/example-browser\"",
"start:electron": "yarn rebuild:electron && run start \"@theia/example-electron\""
},
"workspaces": [
"dev-packages/*",
Expand Down

0 comments on commit d4728ae

Please sign in to comment.