UNPKG

@shahen.poghosyan/awilix

Version:

Extremely powerful dependency injection container.

134 lines (133 loc) 3.76 kB
{ "name": "@shahen.poghosyan/awilix", "version": "4.2.5", "description": "Extremely powerful dependency injection container.", "main": "lib/awilix.js", "module": "lib/awilix.module.js", "jsnext:main": "lib/awilix.module.js", "browser": "lib/awilix.browser.js", "umd:main": "lib/awilix.umd.js", "react-native": "lib/awilix.browser.js", "typings": "lib/awilix.d.ts", "engines": { "node": ">=6.0.0" }, "scripts": { "build": "rimraf lib && tsc -p tsconfig.build.json && rollup -c", "check": "tsc -p tsconfig.json --noEmit --pretty", "test": "npm run check && jest", "lint": "npm run check && tslint --project tsconfig.json --fix \"{src,examples}/**/*.ts\" && prettier --write \"{src,examples}/**/*.{ts,js}\"", "precommit": "lint-staged && npm test", "cover": "npm run test -- --coverage", "coveralls": "npm run cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "publish:pre": "npm run lint && npm run build && npm run cover", "publish:post": "npm publish && git push --follow-tags", "release:prerelease": "npm run publish:pre && npm version prerelease && npm run publish:post", "release:patch": "npm run publish:pre && npm version patch && npm run publish:post", "release:minor": "npm run publish:pre && npm version minor && npm run publish:post", "release:major": "npm run publish:pre && npm version major && npm run publish:post" }, "files": [ "lib", "LICENSE.md", "README.md" ], "repository": { "type": "git", "url": "git+https://github.com/jeffijoe/awilix.git" }, "keywords": [ "dependency-injection", "di", "container", "soc", "service-locator" ], "author": "Jeff Hansen <jeff@jeffijoe.com>", "license": "MIT", "bugs": { "url": "https://github.com/jeffijoe/awilix/issues" }, "homepage": "https://github.com/jeffijoe/awilix#readme", "devDependencies": { "@babel/core": "^7.4.3", "@babel/plugin-transform-runtime": "^7.4.3", "@babel/preset-env": "^7.4.3", "@babel/runtime": "^7.4.3", "@types/glob": "^7.1.1", "@types/jest": "^24.0.11", "@types/node": "^11.13.7", "@types/prettier": "^1.16.3", "babel-jest": "^24.7.1", "coveralls": "^3.0.3", "husky": "^1.3.1", "istanbul": "^0.4.5", "jest": "^24.7.1", "lint-staged": "^8.1.5", "prettier": "^1.17.0", "rollup": "^1.10.1", "rollup-plugin-commonjs": "^9.3.4", "rollup-plugin-node-resolve": "^4.2.3", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-typescript2": "^0.21.0", "smid": "^0.1.1", "ts-jest": "^24.0.2", "tslint": "^5.16.0", "tslint-config-prettier": "^1.18.0", "tslint-config-standard": "^8.0.1", "typescript": "^3.4.5" }, "dependencies": { "camel-case": "^3.0.0", "glob": "^7.1.3" }, "lint-staged": { "*.ts": [ "tslint --project tsconfig.json --fix", "prettier --write", "git add" ] }, "prettier": { "semi": false, "singleQuote": true }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "browsers": "last 2 versions", "node": "8.0.0" } } ] ], "plugins": [ "@babel/plugin-transform-runtime" ] }, "jest": { "testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$", "testEnvironment": "node", "coveragePathIgnorePatterns": [ "/node_modules/", "__tests__", "lib" ], "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "^.+\\.tsx?$": "ts-jest", "^.+\\.jsx?$": "babel-jest" } }, "directories": { "example": "examples", "lib": "lib" } }