UNPKG

react-ioc

Version:

Hierarchical Dependency Injection for React

112 lines (111 loc) 2.66 kB
{ "name": "react-ioc", "version": "1.0.0", "description": "Hierarchical Dependency Injection for React", "main": "dist/index.js", "module": "dist/index.esm.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rimraf dist/* && rollup -c && copyfiles -f src/index.d.ts src/index.js.flow dist --silent", "test": "jest" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,tsx,js,jsx}": [ "prettier --write", "git add" ] }, "repository": { "type": "git", "url": "git+https://github.com/gnaeus/react-ioc.git" }, "keywords": [ "di", "ioc", "dependency", "injection", "container", "inversion", "hierarchical", "decorators", "react", "mobx" ], "author": "Dmitry Panyushkin", "license": "MIT", "bugs": { "url": "https://github.com/gnaeus/react-ioc/issues" }, "homepage": "https://github.com/gnaeus/react-ioc#readme", "devDependencies": { "@types/classnames": "^2.2.6", "@types/hoist-non-react-statics": "^3.0.1", "@types/jest": "^23.3.10", "@types/node": "^10.12.2", "@types/react": "^16.7.13", "@types/react-dom": "^16.0.11", "classnames": "^2.2.6", "copyfiles": "^2.1.0", "coveralls": "^3.0.2", "deepmerge": "^3.0.0", "husky": "^1.2.0", "jest": "^23.6.0", "lint-staged": "^8.1.0", "mobx": "^4.7.0", "mobx-react": "^5.4.2", "prettier": "^1.15.3", "react": "next", "react-dom": "next", "rimraf": "^2.6.2", "rollup": "^0.67.4", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-filesize": "^5.0.1", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-prettier": "^0.5.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-terser": "^3.0.0", "rollup-plugin-typescript2": "^0.18.0", "ts-jest": "^23.10.5", "typescript": "^3.2.2" }, "dependencies": { "hoist-non-react-statics": "^3.2.1", "reflect-metadata": "^0.1.12", "tslib": "^1.9.3" }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ "src/*.js", "src/*.ts" ], "coverageReporters": [ "lcov", "text" ], "globals": { "__DEV__": true }, "transform": { "^.+\\.(jsx?|tsx?)$": "ts-jest" }, "testRegex": "/test/.+\\.test\\.(jsx?|tsx?)$", "testPathIgnorePatterns": [ "/node_modules/" ], "moduleFileExtensions": [ "js", "ts", "jsx", "tsx" ] } }