UNPKG

@kth/api-call

Version:

Node.js module to make JSON calls against APIs.

78 lines (77 loc) 1.92 kB
{ "name": "@kth/api-call", "version": "4.5.2", "description": "Node.js module to make JSON calls against APIs.", "main": "index.js", "files": [ "**/*.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": "husky", "prettier:all": "prettier --write \"**/*.js\"" }, "keywords": [ "api", "kth", "json" ], "dependencies": { "form-data": "^4.0.5", "node-fetch": "^2.7.0", "url-join": "^4.0.1" }, "devDependencies": { "@kth/eslint-config-kth": "^3.7.0", "@types/jest": "^30.0.0", "body-parser": "^2.2.2", "eslint": "^9.39.4", "express": "^4.22.1", "express-form-data": "^3.0.1", "husky": "^9.1.7", "jest": "^30.3.0", "jest-extended": "^6.0.0", "lint-staged": "^16.4.0", "prettier": "^3.8.3", "qs": "^6.15.1" }, "// (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/" ] } }