Skip to content

Commit

Permalink
add yarn start command
Browse files Browse the repository at this point in the history
- consolidate webpack and electron dev tasks into a single start command. This simplifies running the app in development
- move the old yarn dev command to yarn dev:electron
  • Loading branch information
cloverich committed Oct 12, 2021
1 parent c53112b commit 3edac46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"main": "index.js",
"license": "UNLICENSED",
"scripts": {
"dev": "webpack-dev-server --config webpack.js --hot --inline --colors",
"start": "yarn dev:webpack & yarn dev:electron",
"dev:webpack": "webpack-dev-server --config webpack.js --hot --inline --colors",
"dev:electron": "electron src/electron/index.js",
"test": "mocha -r ts-node/register -r esm src/**/*.test.ts",
"test:one": "mocha -r ts-node/register -r esm",
Expand Down

0 comments on commit 3edac46

Please sign in to comment.