<commit_before><% const run = command => `${props.packageManager} run ${command}${props.packageManager === 'npm' ? ' -s' : ''}` -%>
{
  "name": "<%= props.projectName %>",
  "version": "1.0.0",
  "private": true,
  <% if (props.target.includes('electron')) { -%>
     "main": "electron.main.js",
  <% } -%>
  "scripts": {
    "ng": "ng",
    "build": "<%= run('env') %> && ng build --prod",
    "start": "<%= run('env') %> && ng serve --aot --proxy-config proxy.conf.js",
<% if (props.pwa) { -%>
    "serve:sw": "<%= run('build') %> && npx http-server ./<%= props.target.includes('cordova') ? 'www': 'dist' %> -p 4200",
<% } -%>
    "lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc",
    "test": "<%= run('env') %> && ng test",
    "test:ci": "<%= run('env') %> && <%= run('lint') %> && ng test --code-coverage --watch=false",
    "e2e": "<%= run('env') %> && ng e2e",
    "translations:extract": "ngx-translate-extract --input ./src --output ./src/translations/template.json --format=json --clean --sort --marker extract",
<% if (props.tools.includes('hads')) { -%>
    "docs": "hads ./docs -o",
<% } -%>
<% if (props.tools.includes('compodoc')) { -%>
    "compodoc": "compodoc -p src/tsconfig.app.json -d docs/generated -s -o",
<% } -%>
    "env": "ngx-scripts env npm_package_version",
<% if (props.tools.includes('prettier')) { -%>
    "prettier": "prettier --write \"./{src,e2e}/**/*.{ts,js,html,scss}\"",
    "prettier:check": "prettier --list-different \"./{src,e2e}/**/*.{ts,js,html,scss}\"",
    "postinstall": "<%= run('prettier') %>",
<% } -%>
<% if (props.target.includes('cordova')) { -%>
    "cordova:prepare": "ngx-scripts cordova prepare",
    "cordova:run": "ngx-scripts cordova run",
    "cordova:build": "ngx-scripts cordova build --device --release --copy dist",
    "cordova:clean": "ngx-scripts clean",
    "cordova": "cordova",
<% } -%>
<% if (props.target.includes('electron')) { -%>
    "electron:compile": "tsc --project tsconfig.electron.json",
    "electron:run": "<%= run('electron:compile') %> && electron .",
    "electron:build": "<%= run('electron:compile') %> && <%= run('env') %> && ng build --prod --base-href ./dist.electron --output-path dist.electron",
    "electron:package:common": "electron-packager . --overwrite --out=dist.packages --ignore=\"/(platforms|plugins|docs|www|reports|e2e|src)\"",
<%   if (props.desktop.includes('windows')) { -%>
    "electron:package:windows": "<%= run('electron:package:common') %> -- --platform=win32 --arch=x64 --icon=./resources/win/icon.ico",
<%   } -%>
<%   if (props.desktop.includes('mac')) { -%>
    "electron:package:mac": "<%= run('electron:package:common') %> -- --platform=darwin --icon=./resources/mac/icon.icns",
<%   } -%>
<%   if (props.desktop.includes('linux')) { -%>
    "electron:package:linux": "<%= run('electron:package:common') %> --platform=linux",
<%   } -%>
    "electron:package": "<%- props.desktop.reduce((out, platform) => (out ? out + ' && ' : '') + run('electron:package:' + platform), null) %>",
<% } -%>
    "generate": "ng generate"
  },
  "dependencies": {
    "@angular/animations": "^7.2.3",
    "@angular/common": "^7.2.3",
    "@angular/compiler": "^7.2.3",
    "@angular/core": "^7.2.3",
    "@angular/forms": "^7.2.3",
    "@angular/http": "^7.2.3",
    "@angular/platform-browser": "^7.2.3",
    "@angular/platform-browser-dynamic": "^7.2.3",
    "@angular/router": "^7.2.3",
    "@ngx-translate/core": "^11.0.1",
<% if (props.target.includes('cordova')) { -%>
    "@ionic-native/core": "^5.0.0",
    "@ionic-native/splash-screen": "^5.0.0",
    "@ionic-native/status-bar": "^5.0.0",
    "cordova-android": "^8.0.0",
    "cordova-custom-config": "^5.0.2",
    "cordova-ios": "^5.0.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-webview": "^4.0.1",
    "cordova-plugin-ionic-keyboard": "^2.1.2",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.1",
    "cordova-plugin-whitelist": "^1.3.3",
<% } -%>
<% if (props.pwa) { -%>
    "@angular/service-worker": "^7.2.3",
<% } -%>
<% if (props.ui === 'ionic') { -%>
    "@ionic/angular": "^4.0.0",
<% } else if (props.ui === 'bootstrap') { -%>
    "@ng-bootstrap/ng-bootstrap": "^4.0.4",
    "bootstrap": "^4.1.1",
    "@fortawesome/fontawesome-free": "^5.1.0",
<% } else if (props.ui === 'material') { -%>
    "@angular/cdk": "^7.0.1",
    "@angular/material": "^7.0.1",
    "@angular/flex-layout": "^7.0.0-beta.24",
    "material-design-icons-iconfont": "^4.0.5",
    "hammerjs": "^2.0.8",
<% } -%>
<% if (props.angulartics) { -%>
    "angulartics2": "^7.2.4",
<% } -%>
<% if (props.utility.includes('lodash')) { -%>
    "lodash": "^4.17.11",
<% } -%>
<% if (props.utility.includes('ramda')) { -%>
    "ramda": "^0.26.1",
<% } -%>
<% if (props.utility.includes('moment')) { -%>
    "moment": "^2.24.0",
<% } -%>
<% if (props.utility.includes('datefns')) { -%>
    "date-fns": "^1.30.1",
<% } -%>
    "core-js": "^2.6.3",
    "rxjs": "^6.4.0",
    "zone.js": "^0.9.0"<commit_msg>Fix zone.js version requirement<commit_after><% const run = command => `${props.packageManager} run ${command}${props.packageManager === 'npm' ? ' -s' : ''}` -%>
{
  "name": "<%= props.projectName %>",
  "version": "1.0.0",
  "private": true,
  <% if (props.target.includes('electron')) { -%>
     "main": "electron.main.js",
  <% } -%>
  "scripts": {
    "ng": "ng",
    "build": "<%= run('env') %> && ng build --prod",
    "start": "<%= run('env') %> && ng serve --aot --proxy-config proxy.conf.js",
<% if (props.pwa) { -%>
    "serve:sw": "<%= run('build') %> && npx http-server ./<%= props.target.includes('cordova') ? 'www': 'dist' %> -p 4200",
<% } -%>
    "lint": "ng lint && stylelint \"src/**/*.scss\" --syntax scss && htmlhint \"src\" --config .htmlhintrc",
    "test": "<%= run('env') %> && ng test",
    "test:ci": "<%= run('env') %> && <%= run('lint') %> && ng test --code-coverage --watch=false",
    "e2e": "<%= run('env') %> && ng e2e",
    "translations:extract": "ngx-translate-extract --input ./src --output ./src/translations/template.json --format=json --clean --sort --marker extract",
<% if (props.tools.includes('hads')) { -%>
    "docs": "hads ./docs -o",
<% } -%>
<% if (props.tools.includes('compodoc')) { -%>
    "compodoc": "compodoc -p src/tsconfig.app.json -d docs/generated -s -o",
<% } -%>
    "env": "ngx-scripts env npm_package_version",
<% if (props.tools.includes('prettier')) { -%>
    "prettier": "prettier --write \"./{src,e2e}/**/*.{ts,js,html,scss}\"",
    "prettier:check": "prettier --list-different \"./{src,e2e}/**/*.{ts,js,html,scss}\"",
    "postinstall": "<%= run('prettier') %>",
<% } -%>
<% if (props.target.includes('cordova')) { -%>
    "cordova:prepare": "ngx-scripts cordova prepare",
    "cordova:run": "ngx-scripts cordova run",
    "cordova:build": "ngx-scripts cordova build --device --release --copy dist",
    "cordova:clean": "ngx-scripts clean",
    "cordova": "cordova",
<% } -%>
<% if (props.target.includes('electron')) { -%>
    "electron:compile": "tsc --project tsconfig.electron.json",
    "electron:run": "<%= run('electron:compile') %> && electron .",
    "electron:build": "<%= run('electron:compile') %> && <%= run('env') %> && ng build --prod --base-href ./dist.electron --output-path dist.electron",
    "electron:package:common": "electron-packager . --overwrite --out=dist.packages --ignore=\"/(platforms|plugins|docs|www|reports|e2e|src)\"",
<%   if (props.desktop.includes('windows')) { -%>
    "electron:package:windows": "<%= run('electron:package:common') %> -- --platform=win32 --arch=x64 --icon=./resources/win/icon.ico",
<%   } -%>
<%   if (props.desktop.includes('mac')) { -%>
    "electron:package:mac": "<%= run('electron:package:common') %> -- --platform=darwin --icon=./resources/mac/icon.icns",
<%   } -%>
<%   if (props.desktop.includes('linux')) { -%>
    "electron:package:linux": "<%= run('electron:package:common') %> --platform=linux",
<%   } -%>
    "electron:package": "<%- props.desktop.reduce((out, platform) => (out ? out + ' && ' : '') + run('electron:package:' + platform), null) %>",
<% } -%>
    "generate": "ng generate"
  },
  "dependencies": {
    "@angular/animations": "^7.2.3",
    "@angular/common": "^7.2.3",
    "@angular/compiler": "^7.2.3",
    "@angular/core": "^7.2.3",
    "@angular/forms": "^7.2.3",
    "@angular/http": "^7.2.3",
    "@angular/platform-browser": "^7.2.3",
    "@angular/platform-browser-dynamic": "^7.2.3",
    "@angular/router": "^7.2.3",
    "@ngx-translate/core": "^11.0.1",
<% if (props.target.includes('cordova')) { -%>
    "@ionic-native/core": "^5.0.0",
    "@ionic-native/splash-screen": "^5.0.0",
    "@ionic-native/status-bar": "^5.0.0",
    "cordova-android": "^8.0.0",
    "cordova-custom-config": "^5.0.2",
    "cordova-ios": "^5.0.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-webview": "^4.0.1",
    "cordova-plugin-ionic-keyboard": "^2.1.2",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.1",
    "cordova-plugin-whitelist": "^1.3.3",
<% } -%>
<% if (props.pwa) { -%>
    "@angular/service-worker": "^7.2.3",
<% } -%>
<% if (props.ui === 'ionic') { -%>
    "@ionic/angular": "^4.0.0",
<% } else if (props.ui === 'bootstrap') { -%>
    "@ng-bootstrap/ng-bootstrap": "^4.0.4",
    "bootstrap": "^4.1.1",
    "@fortawesome/fontawesome-free": "^5.1.0",
<% } else if (props.ui === 'material') { -%>
    "@angular/cdk": "^7.0.1",
    "@angular/material": "^7.0.1",
    "@angular/flex-layout": "^7.0.0-beta.24",
    "material-design-icons-iconfont": "^4.0.5",
    "hammerjs": "^2.0.8",
<% } -%>
<% if (props.angulartics) { -%>
    "angulartics2": "^7.2.4",
<% } -%>
<% if (props.utility.includes('lodash')) { -%>
    "lodash": "^4.17.11",
<% } -%>
<% if (props.utility.includes('ramda')) { -%>
    "ramda": "^0.26.1",
<% } -%>
<% if (props.utility.includes('moment')) { -%>
    "moment": "^2.24.0",
<% } -%>
<% if (props.utility.includes('datefns')) { -%>
    "date-fns": "^1.30.1",
<% } -%>
    "core-js": "^2.6.3",
    "rxjs": "^6.4.0",
    "zone.js": "~0.8.26"
{'fraction_non_alphanumeric': 0.29546577101649707, 'fraction_numerical': 0.02874641904573743, 'mean_word_length': 3.3209560392658983, 'pattern_counts': {'":': 150, '<': 115, '<?xml version=': 0, '>': 119, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7644551', 'n_tokens_mistral': 4259, 'n_tokens_neox': 3957, 'n_words': 594}