This project manages its dependencies using npm. Learn more
package.json 1.69 KiB
  "name": "jalhyd",
  "version": "1.1.0",
  "author": "DD",
  "license": "ISC",
  "description": "JaLHyd, a Javascript Library for Hydraulics",
  "repository": {
    "type": "git",
    "url": "https://gitlab.irstea.fr/cassiopee/jalhyd.git"
  "main": "build/index.js",
  "types": "build/index.d.ts",
  "module": "build/index.js",
  "dependencies": {},
  "devDependencies": {
  "scripts": {
    "build": "npm run buildgeneric -- src/tsconfig.app.json",
    "buildspec": "npm run buildgeneric -- spec/tsconfig.spec.jasmine.json",
    "buildgeneric": "npm run preprocess; rm -rf build; ./node_modules/typescript/bin/tsc --p",
    "runtestremous": "./node_modules/typescript/bin/tsc --p spec/tsconfig-remous-fenetre.spec.json && node ./build/spec/test-remous-fenetre.js",
    "jasmine": "npm run buildgeneric -- spec/tsconfig.spec.jasmine.json && ./node_modules/.bin/jasmine",
    "karma": "npm run buildgeneric -- spec/tsconfig.spec.karma.json && find ./build -type f -iname \"*.js\" -print0 | xargs -0 sed -i 's/\\(\\(import\\|export\\) .* from .*\\)\";/\\1\\.js\";/g' && ./node_modules/karma/bin/karma start",
    "lint": "./node_modules/tslint/bin/tslint -p ./tsconfig.json",
    "viz": "tsviz -recursive src/ jalhyd_class_diagram.png",
    "package": "npm run build && npm pack --quiet",
    "preprocess": "node preprocessors.js"