{
  "name": "idai-field-client",
  "description": "iDAI.field 2 Client",
  "version": "2.19.0-SNAPSHOT.1",
  "main": "electron/main.js",
  "license": "Apache-2.0",
  "author": "German Archaeological Institute",
  "scripts": {
    "ng": "ng",
    "ng:serve": "ng serve --servePath=dist",
    "ng:serve:en": "ng serve --servePath=dist --configuration=en",
    "ng:serve:it": "ng serve --servePath=dist --configuration=it",
    "start": "npm-run-all -p ng:serve start:dev",
    "start:en": "npm-run-all -p ng:serve:en start:dev",
    "start:it": "npm-run-all -p ng:serve:it start:dev",
    "start:dev": "wait-on http-get://localhost:4200/dist/ && electron . dev",
    "build": "node --max_old_space_size=16000 node_modules/@angular/cli/bin/ng build --base-href ./ --localize --prod",
    "build:scripts": "rimraf src/config/Scripts/dist && tsc -p src/config/Scripts/tsconfig.json",
    "build:test": "rimraf test/dist && tsc -p test/tsconfig.json",
    "build:test+watch": "rimraf test/dist && tsc -watch -p test/tsconfig.json",
    "build:java": "mvn -f java/pom.xml clean package && gulp copy-shapefile-tool",
    "build:all": "npm run build && npm run build:test && npm run build:java",
    "prepare": "npm run update-version-info && gulp copy-fonts",
    "lint": "ng lint",
    "test": "jasmine JASMINE_CONFIG_PATH=test/unit/config/jasmine.json",
    "e2e": "npm-run-all -p -r ng:serve e2e:run",
    "e2e:run": "wait-on http-get://localhost:4200/dist/ && node test/dist/test/e2e/spectron.js",
    "package:mac": "electron-builder -m",
    "package:win": "electron-builder -w nsis --x64 --ia32",
    "package:lnx": "electron-builder -l --x64",
    "i18n": "ng xi18n idai-field && ngx-extractor -i \"./src/app/**/*.ts\" -o ./messages.xlf -l de && xliffmerge --profile xliff-merge.json && rimraf ./messages.xlf",
    "update-version-info": "cross-var replace-in-file \"/<span id=\\\"version-info-number\\\">.*</span>/\" \"<span id=\\\"version-info-number\\\">$npm_package_version</span>\" src/index.html --isRegex"
  },
  "build": {
    "appId": "org.dainst.field",
    "productName": "iDAI.field",
    "directories": {
      "output": "release"
    },
    "mac": {
      "category": "public.app-category.productivity",
      "icon": "img/logo.icns",
      "artifactName": "iDAI.field-${version}-MacOS.${ext}",
      "publish": "github",
      "hardenedRuntime": true,
      "gatekeeperAssess": false,
      "entitlements": "entitlements.mac.plist",
      "entitlementsInherit": "entitlements.mac.plist"
    },
    "win": {
      "target": "zip",
      "icon": "img/logo.ico",
      "artifactName": "iDAI.field-${version}-Windows.${ext}",
      "publish": "github"
    },
    "linux": {
      "target": "AppImage",
      "icon": "img/linux/logo256x256.png",
      "publish": "github",
      "artifactName": "iDAI.field-${version}-Linux.${ext}",
      "category": "Science"
    },
    "npmRebuild": false,
    "afterSign": "notarize.js",
    "extraResources": [
      {
        "from": "src/config",
        "to": "config"
      },
      {
        "from": "src/manual",
        "to": "manual"
      },
      {
        "from": "img/linux",
        "to": "icons"
      },
      "tools",
      "samples"
    ]
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/dainst/idai-field.git"
  },
  "dependencies": {
    "@angular/animations": "~9.1.11",
    "@angular/cdk": "^9.2.4",
    "@angular/common": "~9.1.11",
    "@angular/compiler": "~9.1.11",
    "@angular/core": "~9.1.11",
    "@angular/forms": "~9.1.11",
    "@angular/localize": "~9.1.11",
    "@angular/platform-browser": "~9.1.11",
    "@angular/platform-browser-dynamic": "~9.1.11",
    "@angular/router": "~9.1.11",
    "@geoman-io/leaflet-geoman-free": "^2.5.0",
    "@mdi/font": "5.3.45",
    "@ng-bootstrap/ng-bootstrap": "6.1.0",
    "@ngx-translate/i18n-polyfill": "1.0.0",
    "address": "1.1.2",
    "angular2-uuid": "1.1.1",
    "archiver": "5.1.0",
    "bootstrap": "4.4.1",
    "cldr": "^5.7.0",
    "electron-log": "4.2.2",
    "electron-updater": "4.3.1",
    "es6-shim": "0.35.4",
    "express": "4.17.1",
    "express-basic-auth": "1.2.0",
    "express-pouchdb": "4.2.0",
    "extract-zip": "2.0.1",
    "geojson-rewind": "0.3.1",
    "idai-components-2": "1.47.36",
    "jimp": "0.9.8",
    "leaflet": "1.6.0",
    "leaflet-imageoverlay-rotated": "0.1.1",
    "moment": "2.22.2",
    "pouchdb-browser": "7.2.1",
    "pouchdb-load": "1.4.6",
    "pouchdb-node": "7.2.1",
    "pouchdb-replication-stream": "1.2.9",
    "pouchdb-server": "4.2.0",
    "reflect-metadata": "0.1.12",
    "roboto-fontface": "0.6.0",
    "rxjs": "~6.5.4",
    "showdown": "1.9.1",
    "svg-pan-zoom": "3.6.0",
    "systemjs": "0.21.5",
    "tsfun": "4.4.61",
    "tslib": "^1.10.0",
    "viz.js": "1.8.1",
    "zone.js": "~0.10.2"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.901.9",
    "@angular/cli": "~9.1.9",
    "@angular/compiler-cli": "~9.1.11",
    "@mapbox/geojsonhint": "2.1.0",
    "@types/geojson": "0.0.32",
    "@types/jasmine": "~3.5.0",
    "@types/jasminewd2": "~2.0.3",
    "@types/leaflet": "1.0.69",
    "@types/leaflet-imageoverlay-rotated": "0.1.0",
    "@types/node": "^12.12.38",
    "@types/pouchdb": "6.4.0",
    "@types/showdown": "1.7.5",
    "codelyzer": "^5.1.2",
    "cross-var": "^1.1.0",
    "electron": "9.4.0",
    "electron-builder": "22.7.0",
    "electron-chromedriver": "9.0.0",
    "electron-notarize": "1.0.0",
    "electron-packager": "14.2.1",
    "file-api": "0.10.4",
    "file-url": "2.0.2",
    "gulp": "4.0.2",
    "gulp-concat": "2.6.1",
    "gulp-rename": "1.4.0",
    "gulp-sass": "4.0.2",
    "jasmine": "2.5.2",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~5.0.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~2.1.0",
    "karma-jasmine": "~3.0.1",
    "karma-jasmine-html-reporter": "^1.4.2",
    "ngx-i18nsupport": "0.17.1",
    "node-sass": "^4.13.1",
    "npm-run-all": "4.1.5",
    "parameterize": "^1.0.0",
    "pouchdb-adapter-memory": "7.0.0",
    "protractor": "~5.4.3",
    "protractor-console-plugin": "0.1.1",
    "protractor-fail-fast": "3.1.0",
    "replace-in-file": "^6.1.0",
    "rimraf": "2.6.2",
    "spectron": "11.0.0",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~3.8.3",
    "wait-on": "5.0.0",
    "yargs": "12.0.2"
  },
  "browser": {
    "zlib": false,
    "vm": false,
    "stream": false,
    "path": false,
    "os": false,
    "net": false,
    "http": false,
    "fs": false,
    "fs-constants": false,
    "graceful-fs": false,
    "extract-zip": false,
    "crypto": false,
    "child_process": false,
    "https": false
  }
}
