UNPKG

node-dependency-injection

Version:

The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.

115 lines (114 loc) 3.18 kB
{ "name": "node-dependency-injection", "version": "3.6.2", "description": "The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.", "main": "dist/lib/index.js", "directories": { "test": "test" }, "preferGlobal": true, "bin": { "ndi": "dist/bin/ndi.js" }, "scripts": { "test": "cross-env NODE_ENV=test ts-mocha --paths", "test:coverage": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text ts-mocha --paths", "test:standard": "standard", "test:standard:fix": "standard --fix", "build:lib": "rm -rf dist/lib/* && babel lib -d dist/lib -D --compact --no-comments", "build:bin": "rm -rf dist/bin/* && babel bin -d dist/bin -D --compact --no-comments", "build": "npm run build:lib && npm run build:bin", "report:coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "preversion": "npm run test:standard && npm test", "postversion": "git push && git push --tags" }, "standard": { "ignore": [ "test/" ] }, "repository": { "type": "git", "url": "git+https://github.com/zazoomauro/node-dependency-injection.git" }, "keywords": [ "node", "dependency", "injection", "service", "container", "console", "inversion-of-control", "service-locator" ], "types": "dist/lib/types/index.d.ts", "author": "Mauro Gadaleta <mggadaleta@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/zazoomauro/node-dependency-injection/issues" }, "homepage": "https://github.com/zazoomauro/node-dependency-injection#readme", "engines": { "node": ">=15.0.0" }, "dependencies": { "@babel/runtime": "^7.26.10", "@typescript-eslint/typescript-estree": "^5.23.0", "chalk": "^4.1.0", "commander": "^8.3.0", "console.table": "^0.10.0", "fast-xml-parser": "^5.7.3", "js-yaml": "^4.1.1", "json5": "^2.2.2", "validate-npm-package-name": "^3.0.0" }, "devDependencies": { "@babel/cli": "^7.17.10", "@babel/core": "^7.17.10", "@babel/plugin-transform-runtime": "^7.25.4", "@babel/preset-env": "^7.17.10", "@babel/register": "^7.17.7", "@types/chai": "^4.3.1", "@types/expect": "^24.3.0", "@types/mocha": "^9.1.1", "babel-plugin-istanbul": "^6.1.1", "chai": "^4.3.6", "chai-as-promised": "^7.1.1", "chai-iterator": "^3.0.2", "codecov": "^4.0.0-0", "cross-env": "^7.0.3", "eslint": "^8.57.1", "eslint-config-standard": "^17.0.0", "eslint-plugin-n": "^15.2.0", "eslint-plugin-sonarjs": "^0.13.0", "istanbul": "^0.4.5", "mocha": "^9.2.2", "nyc": "^15.1.0", "sinon": "^11.1.2", "standard": "^16.0.4", "ts-mocha": "^10.0.0", "ts-node": "^10.7.0", "tsconfig-paths": "^4.0.0", "typescript": "^4.6.4" }, "babel": { "presets": [ "@babel/preset-env" ], "plugins": [ "@babel/transform-runtime" ], "env": { "test": { "plugins": [ "istanbul" ] } } }, "nyc": { "sourceMap": false, "instrument": false }, "false": {} }