UNPKG

moleculer-api

Version:

A dynamic API Gateway for MoleculerJS which updates REST endpoints and aggregated GraphQL schema, access control policy for each action calls from metadata of remote services schema without restart or deployment.

150 lines (149 loc) 4.1 kB
{ "name": "moleculer-api", "version": "0.3.5", "description": "A dynamic API Gateway for MoleculerJS which updates REST endpoints and aggregated GraphQL schema, access control policy for each action calls from metadata of remote services schema without restart or deployment.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "dev": "nodemon", "build": "rm -rf ./dist && tsc -p tsconfig.json --skipLibCheck && cpy '**/*' '!**/*.ts' ../dist/ --cwd=src/ --parents", "lint": "tslint -p tsconfig.json", "coverall": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "test": "yarn test-with-examples --testPathIgnorePatterns=src/examples", "test-with-examples": "node --trace-warnings node_modules/.bin/jest --coverage --detectOpenHandles --forceExit" }, "nodemonConfig": { "watch": [ "src" ], "ext": "ts", "ignore": [ "src/**/*.spec.ts" ], "exec": "ts-node ./src/examples/index.ts" }, "keywords": [ "QMIT", "moleculer", "MSA", "microservice", "API Gateway", "gateway" ], "author": "QMIT Inc.", "dependencies": { "accept-language-parser": "^1.5.0", "apollo-server": "^2.14.1", "async-lock": "^1.2.4", "auth-header": "^1.0.0", "axax": "^0.2.2", "busboy": "^0.3.1", "cookie-parser": "^1.4.5", "cors": "^2.8.5", "dataloader": "^2.0.0", "express": "^4.17.1", "express-useragent": "^1.0.13", "fastest-validator": "^1.4.1", "fs-capacitor": "^6.1.0", "graphql": "^14.6.0", "graphql-iso-date": "^3.6.1", "graphql-type-json": "^0.3.1", "helmet": "^3.22.0", "kleur": "^3.0.3", "lodash": "^4.17.15", "lru-cache": "^5.1.1", "moleculer": "^0.14.7", "moment": "^2.26.0", "morgan": "^1.10.0", "node-fetch": "^2.6.0", "object-hash": "^2.0.3", "openid-client": "^3.15.1", "path-to-regexp": "^6.1.0", "qs": "^6.9.4", "smart-circular": "^1.0.2", "stream": "0.0.2", "subscriptions-transport-ws": "^0.9.16", "table": "^5.4.6", "tslib": "^1.13.0", "uuid": "^3.4.0", "winston": "^3.2.1", "ws": "^7.3.0" }, "devDependencies": { "@types/accept-language-parser": "^1.5.1", "@types/async-lock": "^1.1.2", "@types/auth-header": "^1.0.1", "@types/bluebird": "^3.5.32", "@types/busboy": "^0.2.3", "@types/cookie": "^0.4.0", "@types/cookie-parser": "^1.4.2", "@types/express": "^4.17.6", "@types/express-useragent": "^1.0.0", "@types/graphql-iso-date": "^3.3.3", "@types/graphql-type-json": "^0.3.2", "@types/helmet": "^0.0.47", "@types/jest": "^25.2.3", "@types/lodash": "^4.14.152", "@types/lru-cache": "^5.1.0", "@types/memorystream": "^0.3.0", "@types/morgan": "^1.9.0", "@types/node": "^13.13.9", "@types/node-fetch": "^2.5.7", "@types/object-hash": "^1.3.3", "@types/qs": "^6.9.3", "@types/table": "^4.0.7", "@types/uuid": "^3.4.9", "apollo-client": "^2.6.10", "benchmarkify": "^2.1.2", "coveralls": "^3.1.0", "cpy-cli": "^3.1.1", "install": "^0.13.0", "jest": "^25.5.4", "jest-cli": "^25.5.4", "jest-mock-req-res": "^1.0.2", "memorystream": "^0.3.1", "nodemon": "^2.0.4", "qmit-sdk": "^1.0.24", "ts-jest": "^25.10.0-alpha.2", "ts-node": "^8.10.1", "tslint": "^6.1.2", "typescript": "^3.9.5" }, "engines": { "node": ">= 10.x.x" }, "jest": { "coverageDirectory": "<rootDir>/coverage", "testEnvironment": "node", "coveragePathIgnorePatterns": [ "\\.ignore\\." ], "moduleFileExtensions": [ "js", "json", "jsx", "ts", "tsx", "node" ], "transform": { "^.+\\.(ts|tsx)$": "ts-jest" }, "testMatch": [ "<rootDir>/src/**/*.spec.(ts|js)" ], "globals": { "ts-jest": { "tsConfig": "tsconfig.json" } } }, "repository": { "type": "git", "url": "https://github.com/qmit-pro/moleculer-api.git" }, "license": "MIT" }