UNPKG

didi

Version:

Dependency Injection for JavaScript

68 lines (67 loc) 1.91 kB
{ "name": "didi", "version": "10.2.2", "description": "Dependency Injection for JavaScript", "types": "dist/index.d.ts", "main": "dist/index.cjs", "module": "dist/index.js", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" }, "./package.json": "./package.json" }, "type": "module", "scripts": { "all": "run-s lint bundle test check-types integration-test", "bundle": "cross-env NODE_ENV=production rollup -c --bundleConfigAsCjs", "lint": "eslint --ext ts,js,cjs .", "check-types": "run-s check-types:*", "check-types:lib": "tsc --pretty --noEmit", "check-types:test": "tsc --project test --pretty --noEmit", "check-types:integration": "tsc -p test/integration/tsconfig.json --pretty --noEmit", "test": "nyc --reporter=lcov mocha test/*.spec.js", "integration-test": "(cd test/integration && mocha --loader=ts-node/esm *.spec.{cjs,ts})", "prepare": "run-s bundle" }, "repository": { "type": "git", "url": "git://github.com/nikku/didi.git" }, "keywords": [ "di", "inversion of control", "dependency", "injection", "injector" ], "engines": { "node": ">= 16" }, "devDependencies": { "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", "@types/node": "^20.11.16", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "@web/rollup-plugin-copy": "^0.5.1", "chai": "^4.4.1", "cross-env": "^7.0.3", "eslint": "^8.56.0", "eslint-plugin-bpmn-io": "^1.0.0", "mocha": "^10.2.0", "npm-run-all2": "^6.1.2", "nyc": "^15.1.0", "rollup": "^4.5.1", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "author": "Nico Rehwaldt <https://github.com/nikku>", "license": "MIT", "sideEffects": false, "files": [ "dist" ] }