Skip to content

Commit

Permalink
add "yarn build" for example
Browse files Browse the repository at this point in the history
having a yarn build command makes it easier to deploy example to CI, as start is watch mode
  • Loading branch information
slorber authored May 9, 2019
1 parent bafb0c8 commit 8033699
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/react/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "parcel index.html"
"start": "parcel index.html",
"build": "parcel build index.html"
},
"dependencies": {
"react-app-polyfill": "^1.0.0"
Expand Down

0 comments on commit 8033699

Please sign in to comment.