UNPKG

di-tory

Version:

Compose applications with dependency injection

102 lines (101 loc) 2.52 kB
{ "name": "di-tory", "version": "1.0.0", "description": "Compose applications with dependency injection", "scripts": { "test": "jest", "clear": "rm -rf ./lib; rm -rf ./dist; rm -rf ./esm", "compile:cjs": "tsc --project tsconfig.cjs.json", "compile:esm": "tsc --project tsconfig.esm.json && echo '{ \"type\": \"module\" }' > esm/package.json", "compile": "npm run clear; npm run compile:cjs && npm run compile:esm && tsup", "lint": "eslint ." }, "keywords": [ "inject", "dependency", "dependency-injection", "injection", "resolve", "composition-root", "composition", "root" ], "author": "Dmytro Shchehlov <dmitry.scheglov@gmail.com>", "repository": { "type": "git", "url": "git+https://github.com/DScheglov/di-tory" }, "bugs": { "url": "https://github.com/DScheglov/di-tory/issues" }, "license": "MIT", "devDependencies": { "@eslint/js": "^9.7.0", "@type-challenges/utils": "^0.1.1", "@types/eslint": "^9.6.0", "@types/node": "^20.10.5", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "terser": "^5.33.0", "ts-jest": "^29.1.1", "tsup": "^8.5.1", "tsx": "^4.21.0", "typescript": "^5.6.2", "typescript-eslint": "^7.17.0" }, "overrides": { "esbuild": "0.24.0" }, "exports": { ".": { "types": "./lib/index.d.ts", "import": "./esm/index.js", "require": "./lib/index.js" }, "./async-scope": { "types": "./lib/async-scope.d.ts", "import": "./esm/async-scope.js", "require": "./lib/async-scope.js" }, "./async-scope/node": { "types": "./lib/async-scope.node.d.ts", "import": "./esm/async-scope.node.js", "require": "./lib/async-scope.node.js" }, "./light": { "types": "./lib/light/index.d.ts", "import": "./esm/light/index.js", "require": "./lib/light/index.js" }, "./proxy-tools": { "types": "./lib/proxy-tools.d.ts", "import": "./esm/proxy-tools.js", "require": "./lib/proxy-tools.js" } }, "typesVersions": { "*": { "light": [ "./lib/light/index.d.ts" ], "async-scope/node": [ "./lib/async-scope.node.d.ts" ], "async-scope": [ "./lib/async-scope.d.ts" ], "proxy-tools": [ "./lib/proxy-tools.d.ts" ], "*": [ "./lib/*" ] } }, "files": [ "lib", "esm", "dist" ] }