UNPKG

@loopback/context

Version:

Facilities to manage artifacts and their dependencies in your Node.js applications. The module exposes TypeScript/JavaScript APIs and decorators to register artifacts, declare dependencies, and resolve artifacts by keys. It also serves as an IoC container

65 lines (64 loc) 1.94 kB
{ "name": "@loopback/context", "description": "Facilities to manage artifacts and their dependencies in your Node.js applications. The module exposes TypeScript/JavaScript APIs and decorators to register artifacts, declare dependencies, and resolve artifacts by keys. It also serves as an IoC container to support dependency injection", "version": "7.0.12", "keywords": [ "LoopBack", "IoC", "Inversion", "Control", "Container", "Decorators", "Context" ], "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "IBM Corp. and LoopBack contributors", "copyright.owner": "IBM Corp. and LoopBack contributors", "repository": { "type": "git", "url": "https://github.com/loopbackio/loopback-next.git", "directory": "packages/context" }, "engines": { "node": "18 || 20 || 22" }, "scripts": { "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", "build": "lb-tsc", "clean": "lb-clean loopback-context*.tgz dist *.tsbuildinfo package", "pretest": "npm run build", "test": "lb-mocha \"dist/__tests__/**/*.js\"", "unit": "lb-mocha \"dist/__tests__/unit/**/*.js\"", "verify": "npm pack && tar xf loopback-context*.tgz && tree package && npm run clean" }, "publishConfig": { "access": "public" }, "files": [ "README.md", "dist", "src", "!*/__tests__" ], "dependencies": { "@loopback/metadata": "^7.0.12", "@types/debug": "^4.1.12", "debug": "^4.4.0", "hyperid": "^3.3.0", "p-event": "^4.2.0", "tslib": "^2.8.1", "uuid": "^10.0.0" }, "devDependencies": { "@loopback/build": "^11.0.10", "@loopback/eslint-config": "^15.0.5", "@loopback/testlab": "^7.0.11", "@types/bluebird": "^3.5.42", "@types/node": "^16.18.126", "@types/uuid": "^10.0.0", "bluebird": "^3.7.2" }, "gitHead": "0c7708d49efe343cd46350e5014a147c920e59f7" }