Skip to content

Commit

Permalink
modify deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Liu (Wicresoft) committed Nov 10, 2016
1 parent c4e50db commit 78da3d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ call :SelectNodeVersion
:: 3. Install npm packages
IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
pushd "%DEPLOYMENT_TARGET%"
call :ExecuteCmd !NPM_CMD! install
call :ExecuteCmd !NPM_CMD! install --production
IF !ERRORLEVEL! NEQ 0 goto error
popd
)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"homepage": "https://github.com/Walk4Muscle/S3PUI#readme",
"dependencies": {
"angular": "^1.5.8",
"semantic-ui": "^2.2.2"
},
"devDependencies": {
"adal-angular": "^1.0.12",
"angular-route": "^1.5.8",
"angular-scroll": "^1.0.0",
Expand All @@ -35,5 +32,8 @@
"ng-table": "^1.0.0",
"ui-router": "^1.0.0-alpha.3",
"vinyl-source-stream": "^1.1.0"
},
"devDependencies": {
"semantic-ui": "^2.2.2"
}
}

0 comments on commit 78da3d9

Please sign in to comment.