{ "name": "fr.irstea.cassiopee", "displayName": "Cassiopée", "description": "Hydraulic calculators", "author": "Irstea", "version": "4.4.2", "main": "main.js", "homepage": "http://cassiopee.g-eau.net", "license": "MIT", "scripts": { "ng": "ng", "lint": "ng lint", "e2e": "ng e2e", "electron": "npm run update-dist-index-mimetypes && electron .", "electron-builder": "npm run update-dist-index-mimetypes && electron-builder", "start": "npm run preprocess && ng serve --host 0.0.0.0 --poll 5000", "prod": "npm run preprocess && ng serve --host 0.0.0.0 --prod", "build": "npm run preprocess && ng build --prod --build-optimizer=false", "build-cordova": "npm run preprocess && ng build --prod --build-optimizer=false && npm run update-dist-index-mimetypes && npm run add-cordova-js", "add-cordova-js": "sed -i '/<\\/title>/a <script type=\"text/javascript\" src=\"cordova.js\"></script>' dist/index.html", "update-dist-index-mimetypes": "node ./update-dist-index-mimetypes.js", "copy-electron-icon-windows": "copy \"src\\android-chrome-512x512.png\" \"electron\\icon.png\" /Y", "release-linux": "npm run build && npm run update-dist-index-mimetypes && electron-builder", "release-windows": "rd /s /q release & ng build --prod --build-optimizer=false && npm run update-dist-index-mimetypes && npm run copy-electron-icon-windows && npm run electron-builder", "release-android": "npm run build-cordova && cordova platform add android; rm dist/assets/docs-fr/sitemap.xml.gz && cordova build android && mv platforms/android/app/build/outputs/apk/debug/app-debug.apk release/cassiopee.apk", "e2equick": "ng e2e --dev-server-target=", "jalhyd": "rm -f node_modules/jalhyd && cd ../jalhyd && npm run build && cd ../nghyd && npm install ../jalhyd", "mathjax": "mkdir -p docs-fr/javascripts/mathjax && rsync -azR --delete `cat rsync-mathjax-files` docs-fr/javascripts/mathjax", "mkdocs": "npm run mathjax && find docs-fr/javascripts/ -name '*.md' -type f -delete && python3 -m mkdocs build", "preprocess": "node preprocessors.js && npm run mkdocs", "viz": "tsviz -recursive src/ nghyd_class_diagram.png", "compodoc-patch": "sed -i '/Application.prototype.detectAngularJSProjects = function () {/a return false; // patch cracra, voir https://github.com/compodoc/compodoc/issues/667' node_modules/@compodoc/compodoc/dist/index-cli.js", "compodoc": "nodejs node_modules/@compodoc/compodoc/bin/index-cli.js -p src/tsconfig.app.json -s --language fr-FR -d compodoc-fr" }, "private": true, "dependencies": { "@angular/animations": "^8.1.2", "@angular/cdk": "^8.1.3", "@angular/common": "^8.1.2", "@angular/compiler": "^8.1.2", "@angular/core": "^8.1.2", "@angular/flex-layout": "^8.0.0-beta.26", "@angular/forms": "^8.1.2", "@angular/material": "^8.1.3", "@angular/platform-browser": "^8.1.2", "@angular/platform-browser-dynamic": "^8.1.2", "@angular/router": "^8.1.2", "@types/pako": "^1.0.1", "@types/sprintf-js": "^1.1.2", "angular2-chartjs": "^0.5.1", "chartjs-plugin-zoom": "^0.7.3", "cordova-android": "^8.0.0", "cordova-plugin-device": "^2.0.3", "cordova-plugin-whitelist": "^1.3.4", "core-js": "^3.1.4", "file-saver": "^2.0.2", "hammerjs": "^2.0.8", "he": "^1.2.0", "jalhyd": "file:../jalhyd", "material-design-icons": "^3.0.1", "mathjax": "^2.7.5", "ngx-konami": "^1.6.0", "ngx-material-file-input": "^1.1.1", "ngx-md": "^8.0.0", "ngx-webstorage-service": "^4.0.1", "pako": "^1.0.10", "primeng": "^8.0.1", "roboto-fontface": "^0.10.0", "rxjs": "^6.5.2", "screenfull": "^4.2.0", "tslib": "^1.10.0", "xlsx": "^0.14.4", "zone.js": "~0.9.1" }, "devDependencies": { "@angular-devkit/build-angular": "^0.801.2", "@angular/cli": "^8.1.2", "@angular/compiler-cli": "^8.1.2", "@angular/language-service": "^8.1.2", "@compodoc/compodoc": "^1.1.10", "@types/file-saver": "^2.0.1", "@types/jasmine": "^3.3.14", "@types/jasminewd2": "^2.0.6", "@types/node": "^12.6.8", "codelyzer": "^5.0.1", "electron": "^5.0.7", "electron-builder": "^21.1.1", "jasmine-core": "^3.4.0", "jasmine-spec-reporter": "~4.2.1", "karma": "^4.2.0", "karma-chrome-launcher": "^3.0.0", "karma-cli": "~2.0.0", "karma-coverage-istanbul-reporter": "^2.0.6", "karma-jasmine": "^2.0.1", "karma-jasmine-html-reporter": "^1.4.2", "protractor": "^5.4.2", "ts-node": "^8.3.0", "tslint": "^5.18.0", "typescript": "^3.4.5", "webpack-dev-server": "^3.7.2" }, "cordova": { "plugins": { "cordova-plugin-whitelist": {} }, "platforms": [ "android" ] } }