ts-ioc-container
Version:
Typescript IoC container
96 lines (95 loc) • 3.33 kB
JSON
{
"name": "ts-ioc-container",
"version": "40.0.0",
"description": "Typescript IoC container",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"author": "ibabkin <igba14@gmail.com>",
"homepage": "https://github.com/IgorBabkin/ts-ioc-container",
"license": "ISC",
"sideEffects": false,
"main": "cjm/index.js",
"types": "typings/index.d.ts",
"module": "esm/index.js",
"keywords": [
"dependency-injection",
"inversion-of-control",
"container",
"typescript",
"ioc",
"di",
"scope",
"hook",
"inject"
],
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"cjm/**/*",
"esm/**/*",
"typings/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/IgorBabkin/ts-ioc-container"
},
"scripts": {
"build:cjm": "rimraf cjm && tsc -p tsconfig.production.json --outDir cjm --module CommonJS",
"build:esm": "rimraf esm && tsc -p tsconfig.production.json --outDir esm",
"build:types": "rimraf typings && tsc -p tsconfig.production.json --outDir typings --emitDeclarationOnly --declaration",
"generate:docs": "scripts/generate-readme/generate-readme.ts && git add README.md",
"test-coverage:check": "scripts/test-coverage/check-coverage.ts",
"test-coverage:update": "scripts/test-coverage/update-coverage-results.ts",
"build": "npm run build:cjm && npm run build:esm && npm run build:types",
"coverage": "coveralls",
"test": "jest --coverage --coverageReporters='json-summary'",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch",
"commit": "cz",
"format": "prettier --write \"**/*.ts\"",
"lint": "eslint lib/**/*.ts __tests__/**/*.ts scripts/**/*.ts",
"lint:fix": "npm run lint --fix",
"prepare": "husky",
"release": "npm run build && npm test && npm publish",
"benchmarks:generate": "./scripts/benchmarks/index.ts --report-output ./scripts/benchmarks/.benchmark.new.report.json",
"benchmarks:compare": "./scripts/benchmarks/compare-reports.ts --left ./scripts/benchmarks/.benchmark.report.json --right ./scripts/benchmarks/.benchmark.new.report.json",
"perfomance-regression": "npm run benchmarks:generate && npm run benchmarks:compare",
"perfomance-regression:save": "cp ./scripts/benchmarks/.benchmark.new.report.json ./scripts/benchmarks/.benchmark.report.json && rm ./scripts/benchmarks/.benchmark.new.report.json"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@typescript-eslint/eslint-plugin": "8.29.1",
"@typescript-eslint/parser": "8.29.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "9.24.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-prettier": "5.2.6",
"handlebars": "^4.7.8",
"husky": "^9.1.7",
"jest": "29.7.0",
"lint-staged": "^15.5.0",
"moq.ts": "^7.4.1",
"prettier": "3.5.3",
"reflect-metadata": "^0.2.2",
"rimraf": "6.0.1",
"tinybench": "^4.0.1",
"ts-jest": "29.3.1",
"typescript": "5.8.3"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"gitHead": "ae10f302c7e0f55196b42669040735112479a854",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}