UNPKG

@deltares/fews-ssd-requests

Version:

Library for making requests to the FEWS SSD webservice

87 lines (86 loc) 2.91 kB
{ "name": "@deltares/fews-ssd-requests", "version": "1.1.1", "description": "Library for making requests to the FEWS SSD webservice", "author": { "name": "Werner Kramer", "email": "werner.kramer@deltares.nl" }, "keywords": [ "FEWS", "Schematic Status Display Service" ], "publishConfig": { "access": "public" }, "license": "MIT", "type": "module", "exports": { "types": "./lib/types/index.d.ts", "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js" }, "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "typings": "./lib/types/index.d.ts", "private": false, "scripts": { "build": "npm run clean && npm run build:esm && npm run build:cjs && webpack", "build:esm": "tsc", "build:cjs": "tsc --module commonjs --outDir lib/cjs", "clean": "shx rm -rf lib dist", "doc": "typedoc --out doc src", "lint": "eslint src/**.ts", "lint:fix": "eslint src/**.ts --fix", "test:unit": "jest unit --collect-coverage", "test:e2e": "jest e2e", "test": "jest --coverage", "json2ts-pi": "curl https://fewsdocs.deltares.nl/webservices/ssd/schemas/ssd/pi_ssd_get_action.json | json2ts > src/response/action/ssdActionResponse.ts & curl https://fewsdocs.deltares.nl/webservices/ssd/schemas/ssd/pi_ssd_get_capabilities.json | json2ts > src/response/capabilities/ssdCapabilitiesResponse.ts & curl https://fewsdocs.deltares.nl/webservices/ssd/schemas/ssd/pi_ssd_get_feature_info.json | json2ts > src/response/featureinfo/ssdFeatureInfoResponse.ts", "sonar": "sonar-scanner -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_TOKEN -Dsonar.projectKey=$SONAR_KEY -Dsonar.projectName='Delft-FEWS Web OC SSD Requests'" }, "dependencies": { "@deltares/fews-web-oc-utils": "^1.0.0" }, "devDependencies": { "@deltares/fews-pi-requests": "^1.0.2", "@types/jest": "27.0.0", "@types/jsdom": "^16.2.14", "@typescript-eslint/eslint-plugin": "^2.18.0", "@typescript-eslint/parser": "^2.18.0", "cross-fetch": "^3.1.5", "dotenv": "^16.0.0", "eslint": "^6.8.0", "jest": "27.3.1", "jest-environment-jsdom": "27.3.1", "jest-junit": "^13.0.0", "jest-teamcity-reporter": "^0.9.0", "jsdom": "^19.0.0", "json-schema-to-typescript": "^11.0.2", "shx": "^0.3.2", "sonarqube-scanner": "^3.0.1", "ts-jest": "27.0.0", "typedoc": "^0.22.6", "typescript": "^4.4.0", "webpack": "^5.59.0", "webpack-cli": "^4.9.1" }, "jest-junit": { "outputDirectory": "reports/", "outputName": "junit.xml" }, "engines": { "node": ">=0.14" }, "files": [ "dist/*", "lib/*" ], "repository": { "type": "git", "url": "git+https://github.com/Deltares/fews-ssd-requests" }, "bugs": { "url": "https://github.com/Deltares/fews-ssd-requests/issues" }, "gitHead": "f2e86f5df266c208cc6d3ddb67548359cdc765a7" }