Skip to content

Commit 56948d0

Browse files
committed
install npm dep when building
1 parent 62d08d3 commit 56948d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lint": "ng lint",
2121
"start": "webpack --watch",
2222
"start:web": "webpack-dev-server --content-base . --port 4200 --inline",
23-
"build:electron:main": "tsc main.ts --outDir dist && copyfiles package.json dist",
23+
"build:electron:main": "tsc main.ts --outDir dist && copyfiles package.json dist && cd dist && npm install && cd ..",
2424
"build": "webpack --display-error-details && npm run build:electron:main",
2525
"build:prod": "cross-env NODE_ENV='production' npm run build",
2626
"electron:serve": "npm run build:electron:main && electron ./dist --serve",

0 commit comments

Comments
 (0)