contexify
Version:
A TypeScript library providing a powerful dependency injection container with context-based IoC capabilities, inspired by LoopBack's Context system.
88 lines • 2.2 kB
JSON
{
"name": "contexify",
"version": "1.2.2",
"publishConfig": {
"access": "public"
},
"description": "A TypeScript library providing a powerful dependency injection container with context-based IoC capabilities, inspired by LoopBack's Context system.",
"author": "teomyth <teomyth@gmail.com>",
"license": "MIT",
"keywords": [
"typescript",
"dependency-injection",
"ioc",
"inversion-of-control",
"context",
"container",
"binding",
"decorator",
"esm",
"interceptor",
"provider",
"minimal-dependencies"
],
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./core": {
"types": "./dist/core.d.ts",
"default": "./dist/core.js"
},
"./decorators": {
"types": "./dist/decorators.d.ts",
"default": "./dist/decorators.js"
},
"./interceptors": {
"types": "./dist/interceptors.d.ts",
"default": "./dist/interceptors.js"
}
},
"files": [
"README.md",
"NOTICE.md",
"LICENSE",
"dist",
"src"
],
"engines": {
"node": "20 || 22 || 24"
},
"repository": {
"type": "git",
"url": "https://github.com/teomyth/contexify.git",
"directory": "packages/contexify"
},
"homepage": "https://github.com/teomyth/contexify",
"bugs": {
"url": "https://github.com/teomyth/contexify/issues"
},
"dependencies": {
"metarize": "^1.0.6"
},
"devDependencies": {
"@swc/core": "^1.12.9",
"@types/node": "^24.0.8",
"@vitest/coverage-v8": "^3.2.4",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"scripts": {
"clean": "rm -rf dist",
"build": "tsup",
"build:tsc": "tsc",
"build:clean": "pnpm clean && pnpm build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "biome check --write src tests",
"format": "biome format --write src tests",
"fix": "biome check --write src tests && biome format --write src tests",
"prepub": "pnpm clean && pnpm fix && pnpm build && pnpm test"
}
}