UNPKG

@kth/api-call

Version:

Node.js module to make JSON calls against APIs.

77 lines (76 loc) 2.02 kB
{ "name": "@kth/api-call", "version": "4.2.1", "description": "Node.js module to make JSON calls against APIs.", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/KTH/kth-node-api-call" }, "author": { "name": "KTH", "email": "infosys@kth.se", "url": "https://github.com/KTH" }, "license": "MIT", "scripts": { "test": "jest", "jest": "jest", "jest:watch": "jest --watch", "jest:watch-update": "jest --watch -u", "build": "./build.sh", "prepare": "if [ -f ./node_modules/.bin/husky ]; then husky install; fi", "prettier:all": "prettier --write \"**/*.js\"" }, "keywords": [ "api", "kth", "json" ], "dependencies": { "form-data": "^4.0.4", "node-fetch": "^2.7.0", "url-join": "^4.0.1", "uuid": "^8.3.2" }, "devDependencies": { "@kth/eslint-config-kth": "^3.6.0", "@moebius/http-graceful-shutdown": "^1.1.0", "@types/jest": "^29.5.14", "body-parser": "^2.2.0", "eslint": "^8.57.1", "express": "^4.21.2", "express-form-data": "^3.0.1", "husky": "^8.0.3", "jest": "^29.7.0", "jest-extended": "^6.0.0", "prettier": "^3.6.2", "pretty-quick": "^4.2.2", "redis-mock": "^0.56.3" }, "// (prettier)": "configuration version 2020-06-15 - might also reside in .prettierrc.json", "prettier": { "arrowParens": "avoid", "printWidth": 120, "semi": false, "singleQuote": true, "trailingComma": "es5" }, "// (jest)": "configuration version 2020-06-15 (API+NPM) - might also reside as module.exports in jest.config.js", "jest": { "clearMocks": true, "globalSetup": "./test/mock-api/server.js", "globalTeardown": "./test/mock-api/teardown.js", "notifyMode": "failure-change", "setupFilesAfterEnv": [ "jest-extended/all" ], "testEnvironment": "node", "verbose": true, "coveragePathIgnorePatterns": [ "/node_modules/", "/test-utils/", "/test/mock-api/" ] } }