Skip to content
Snippets Groups Projects
package.json 3.39 KiB
Newer Older
francois.grand's avatar
francois.grand committed
{
David Dorchies's avatar
David Dorchies committed
  "name": "nghyd",
  "description": "Hydraulic calculators",
  "author": "Irstea",
  "version": "4.1.0",
francois.grand's avatar
francois.grand committed
  "license": "MIT",
francois.grand's avatar
francois.grand committed
  "scripts": {
David Dorchies's avatar
David Dorchies committed
    "start": "npm run preprocess; ng serve --host 0.0.0.0",
    "prod": "npm run preprocess; ng serve --host 0.0.0.0 --prod",
    "build": "npm run preprocess; ng build --prod --build-optimizer=false",
    "release-clean": "rm -r release/*",
    "release-linux": "npm run build && npm run electron-build",
    "release-windows": "ng build --prod --build-optimizer=false && electron-builder",
francois.grand's avatar
francois.grand committed
    "lint": "ng lint",
    "e2equick": "ng e2e --dev-server-target= --baseUrl=http://localhost:4200",
    "jalhyd": "rm node_modules/jalhyd; cd ../jalhyd; npm run build; cd ../nghyd; npm install ../jalhyd;",
    "mathjax": "rsync -az --delete node_modules/mathjax docs-fr/javascripts;",
    "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"
francois.grand's avatar
francois.grand committed
  },
francois.grand's avatar
francois.grand committed
  "private": true,
francois.grand's avatar
francois.grand committed
  "dependencies": {
francois.grand's avatar
francois.grand committed
  },
  "devDependencies": {