UNPKG

async-injection

Version:

A robust lightweight dependency injection library for TypeScript.

92 lines (91 loc) 2.61 kB
{ "name": "async-injection", "version": "2.0.2", "description": "A robust lightweight dependency injection library for TypeScript.", "author": "Frank Stock", "license": "MIT", "keywords": [ "ioc", "di", "async", "dependency", "injection", "dependency injection", "inversion of control", "injector", "container", "typescript" ], "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js", "types": "./lib/index.d.ts" }, "./*": { "import": "./lib/esm/*.js", "require": "./lib/cjs/*.js", "types": "./lib/*.d.ts" } }, "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "directories": { "lib": "lib" }, "files": [ "lib" ], "scripts": { "clean": "rimraf ./lib", "fullclean": "npm run clean && rimraf ./.nyc_output && rimraf ./coverage && rimraf ./package-lock.json && rimraf ./node_modules", "pretest": "npm run lint", "test": "TS_NODE_PROJECT=./tsconfig-test.json node --require ts-node/register --require tsconfig-paths/register node_modules/jasmine/bin/jasmine.js --config=jasmine.json", "coverage": "rimraf coverage && rimraf ./nyc_output && nyc -e .ts -x \"**/*.spec.ts\" -x \"tst/*\" --reporter=text-summary --reporter=lcov npm run test", "build": "npm run clean && tsc -p tsconfig.base.json && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && npm run _postbuild", "_postbuild": "echo '{\"type\": \"module\"}' >lib/esm/package.json && echo '{\"type\": \"commonjs\"}' >lib/cjs/package.json", "lint": "eslint 'src/**/*.ts'" }, "repository": { "type": "git", "url": "https://github.com/pcafstockf/async-injection.git" }, "bugs": { "url": "https://github.com/pcafstockf/async-injection/issues" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "~1.0.2", "@types/jasmine": "~5.1.7", "@typescript-eslint/eslint-plugin": "~5.62.0", "@typescript-eslint/parser": "~5.62.0", "eslint": "~8.57.0", "eslint-plugin-import": "~2.29.1", "eslint-plugin-jsdoc": "~39.9.1", "eslint-plugin-prefer-arrow": "~1.2.3", "jasmine": "~5.2.0", "jasmine-console-reporter": "~3.1.0", "nyc": "~15.1.0", "reflect-metadata": "~0.2.2", "rimraf": "~5.0.10", "source-map-support": "~0.5.21", "ts-node": "~10.9.2", "tsconfig-paths": "~4.2.0", "tslib": "~2.6.3", "typescript": "~4.9.5" }, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "all": true, "include": [ "src/**" ], "exclude": [ "node_modules/**", "src/index.ts", "**/*.spec.ts" ], "check-coverage": true } }