UNPKG

@lillallol/dic

Version:

My own dependency injection container.

66 lines (65 loc) 2.42 kB
{ "name": "@lillallol/dic", "version": "2.0.0", "description": "My own dependency injection container.", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "check-updates": "ncu", "update": "npx ncu -u;npm install", "spell-check": "cspell \"./**/*\"", "format": "npx prettier --write ./src/**/*.ts", "lint": "eslint ./src --max-warnings=0 && tsc --noEmit -p tsconfig.json", "test": "rm -rf coverage && npx jest --clearCache && npx jest ./src --coverage", "dead-files": "unimported", "build-ts": "rm -rf ./dist && npx tsc -p tsconfig.build.json", "build-md": "rm -rf ./documentation.md;node doc-gen.js;npx md-in-place;", "build": "npm run build-ts;npm run build-md", "pre-bump": "npm run spell-check && npm run format && npm run lint && npm run test && npm run build && git add --all && git commit", "release": "npm run pre-bump && npm publish --access public && npm run after-bump", "bump-patch": "npm run pre-bump && npm version patch && npm publish && npm run after-bump", "bump-minor": "npm run pre-bump && npm version minor && npm publish && npm run after-bump", "bump-major": "npm run pre-bump && npm version major && npm publish && npm run after-bump", "after-bump": "rm -rf ./dist ./coverage && git push origin master" }, "keywords": [ "DIC", "dependency", "injection", "container", "lillallol", "DI", "IoC", "control", "framework", "DIP", "inversion", "principle", "inject" ], "files": [ "dist" ], "author": "lillallol", "license": "MIT", "devDependencies": { "@types/jest": "^26.0.23", "@typescript-eslint/eslint-plugin": "^4.24.0", "@typescript-eslint/parser": "^4.24.0", "cspell": "^5.4.1", "eslint": "^7.26.0", "jest": "^26.6.3", "md-in-place": "^1.0.1", "npm-check-updates": "^11.5.13", "prettier": "^2.3.0", "ts-doc-gen-md": "*", "ts-jest": "^26.5.6", "typescript": "^4.2.4", "unimported": "^1.11.0" }, "bugs": { "url": "https://github.com/lillallol/dic/issues" }, "repository": "https://github.com/lillallol/dic", "homepage": "https://github.com/lillallol/dic" }