njct
Version:
Inject a dependency
77 lines (76 loc) • 2.53 kB
JSON
{
"name": "njct",
"version": "10.0.0",
"description": "Inject a dependency",
"keywords": [
"injector",
"inject",
"dependency",
"dependency-injection",
"service-locator"
],
"main": "index.cjs",
"module": "index.mjs",
"types": "index.d.ts",
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.cjs"
}
},
"bugs": {
"url": "https://github.com/unlight/inject/issues"
},
"homepage": "https://github.com/unlight/inject#readme",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/unlight/inject.git"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"scripts": {
"mocha": "node -r ts-node/register node_modules/mocha/bin/mocha",
"test": "npm run eslint && npm run tscheck && npm run test:cov",
"test:r": "npm run mocha -- src/**/*.spec.ts",
"test:cov": "c8 --reporter text --exclude \"**/*.spec.ts\" --exclude \"**/testing/**\" npm run test:r -- --no-timeouts",
"test:w": "npm run test:r -- --watch-files src --watch",
"test:d": "node --inspect-brk -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha --no-timeouts --watch-extensions ts --watch src/**/*.spec.ts",
"tscheck": "echo tscheck... && tsc --noEmit",
"tscheck:w": "npm run tscheck -- --watch",
"tsclint": "tsc --noEmit --strict --forceConsistentCasingInFileNames --noImplicitReturns --noImplicitThis --noUnusedLocals --noUnusedParameters",
"tsclint:w": "npm run tsclint -- --watch",
"eslint:fix": "eslint src --ext \"ts\" --fix",
"eslint": "node node_modules/eslint/bin/eslint \"src/**/*.{ts,tsx}\"",
"eslint:w": "watchexec -w src \"npm run eslint\"",
"build": "sh Taskfile build_pkgroll",
"commit": "git-cz"
},
"dependencies": {
"@zodash/once": "^0.1.6",
"node-is-class": "^1.0.4"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.1",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.38",
"@typescript-eslint/parser": "^5.27.0",
"c8": "^7.11.3",
"conventional-changelog-conventionalcommits": "^5.0.0",
"eslint": "^8.16.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-only-warn": "^1.0.3",
"eslint-plugin-unicorn": "^42.0.0",
"expect": "^28.1.0",
"mocha": "^10.0.0",
"semantic-release": "^19.0.2",
"ts-node": "^10.8.0",
"tslib": "^2.4.0",
"typescript": "4.6.X"
}
}