Skip to content

Commit

Permalink
Run the examples JSON update script when the examples directory are b…
Browse files Browse the repository at this point in the history
…uilt
  • Loading branch information
bomanimc committed Mar 26, 2020
1 parent 086fb49 commit 634ea88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"examples:serve": "live-server ./examples --port=8081 --mount=/:./examples/public",
"examples:update-json": "node scripts/update-examples-json.js",
"preexamples:build": "rimraf dist_examples",
"examples:build": "webpack --config webpack.prod.babel.js --config-name examples"
"examples:build": "npm run examples:update-json && webpack --config webpack.prod.babel.js --config-name examples"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 634ea88

Please sign in to comment.