diff --git a/generators/app/templates/_package.json b/generators/app/templates/_package.json index cdd1fdcb..bd432f57 100644 --- a/generators/app/templates/_package.json +++ b/generators/app/templates/_package.json @@ -10,6 +10,9 @@ "ng": "ng", "build": "<%= run('env') %> && ng build --prod", "start": "<%= run('env') %> && ng serve --proxy-config proxy.conf.js", +<% if (props.deploy !== 'none') { -%> + "deploy": "<%= run('env') %> && ng deploy", +<% } -%> <% if (props.pwa) { -%> "serve:sw": "<%= run('build') %> && npx http-server ./<%= props.target.includes('cordova') ? 'www': 'dist' %> -p 4200", <% } -%> @@ -185,7 +188,7 @@ "stylelint-config-standard": "~20.0.0", "stylelint-scss": "~3.16.0", "ts-node": "^8.8.1", - "tslint": "~6.1.0", + "tslint": "~5.20.1", "typescript": "~3.8.3" <% if (props.tools.includes('prettier')) { -%> },