mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
Only install production dependencies from build scripts (#424)
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
b061c116da
commit
78fc028ae0
@ -48,8 +48,8 @@ fi
|
||||
|
||||
function install {
|
||||
rm -rf node_modules bower_components
|
||||
npm install --build-from-source
|
||||
bower install
|
||||
npm install --production --build-from-source
|
||||
bower install --production
|
||||
}
|
||||
|
||||
function package {
|
||||
|
@ -73,8 +73,8 @@ function install {
|
||||
export npm_config_runtime=electron
|
||||
|
||||
rm -rf node_modules bower_components
|
||||
npm install --build-from-source
|
||||
bower install
|
||||
npm install --production --build-from-source
|
||||
bower install --production
|
||||
}
|
||||
|
||||
function package_x86 {
|
||||
|
@ -156,8 +156,8 @@ set HOME=%homedrive%%homepath%\.electron-gyp
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
call rimraf node_modules bower_components
|
||||
call npm install --build-from-source
|
||||
call bower install
|
||||
call npm install --production --build-from-source
|
||||
call bower install --production
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
:: Package application
|
||||
|
Loading…
x
Reference in New Issue
Block a user