UNPKG

tsyringe

Version:

Lightweight dependency injection container for JavaScript/TypeScript

64 lines (63 loc) 2.04 kB
{ "name": "tsyringe", "version": "4.10.0", "description": "Lightweight dependency injection container for JavaScript/TypeScript", "main": "dist/cjs/index.js", "module": "./dist/esm5/index.js", "es2015": "./dist/esm2015/index.js", "typings": "./dist/typings/index.d.ts", "scripts": { "build": "yarn clean && yarn build:cjs && yarn build:es5 && yarn build:es2015 && yarn build:types", "build:cjs": "tsc", "build:es5": "tsc -p ./typescript/tsconfig.esm5.json", "build:es2015": "tsc -p ./typescript/tsconfig.esm2015.json", "build:types": "tsc -p ./typescript/tsconfig.types.json", "clean": "rimraf ./dist", "test": "yarn lint && jest --config test/jest.config.js", "test:inspect": "yarn lint && node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --config test/jest.config.js", "test:coverage": "jest --config test/jest.config.js --coverage", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" \"./src\"", "lint:fix": "eslint --fix --ext \".js,.jsx,.ts,.tsx\" \"./src\"" }, "repository": { "type": "git", "url": "git+https://github.com/Microsoft/tsyringe.git" }, "keywords": [ "dependency injection", "dependency", "injection", "ioc", "container", "javascript", "typescript" ], "engines": { "node": ">= 6.0.0" }, "author": "Steven Hobson-Campbell", "license": "MIT", "bugs": { "url": "https://github.com/Microsoft/tsyringe/issues" }, "homepage": "https://github.com/Microsoft/tsyringe#readme", "dependencies": { "tslib": "^1.9.3" }, "devDependencies": { "@types/jest": "^24.0.21", "@types/node": "^8.10.16", "@typescript-eslint/eslint-plugin": "^2.6.0", "@typescript-eslint/parser": "^2.6.0", "eslint": "^6.6.0", "eslint-config-prettier": "^6.5.0", "eslint-plugin-prettier": "^3.1.1", "husky": "^3.0.0", "jest": "^24.7.1", "prettier": "1.18.2", "reflect-metadata": "^0.1.12", "rimraf": "^3.0.0", "ts-jest": "^24.0.2", "typescript": "^3.1.6" } }