UNPKG

react-injectables

Version:

Explicitly inject Components into any part of your React render tree.

80 lines 2.37 kB
{ "name": "react-injectables", "version": "4.0.2", "description": "Explicitly inject Components into any part of your React render tree.", "main": "lib/react-injectables.js", "scripts": { "prebuild": "rm -rf lib && mkdir lib", "build": "NODE_ENV=production webpack", "commit": "git-cz", "test": "mocha --compilers js:babel-register --recursive --require ./test/setup.js \"test/**/*.test.js\"", "test:coverage": "babel-node $(npm bin)/isparta cover $(npm bin)/_mocha -- -R spec --require ./test/setup.js", "report-coverage": "cat ./coverage/lcov.info | $(npm bin)/codecov", "lint": "eslint src", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "repository": { "type": "git", "url": "https://github.com/ctrlplusb/react-injectables.git" }, "keywords": [ "react", "reactjs", "injectables", "portals", "elements" ], "author": "Sean Matheson <sean@ctrlplusb.com> (http://ctrlplusb.com)", "license": "MIT", "bugs": { "url": "https://github.com/ctrlplusb/react-injectables/issues" }, "homepage": "https://github.com/ctrlplusb/react-injectables#readme", "dependencies": { "invariant": "2.2.1" }, "devDependencies": { "babel-cli": "6.7.5", "babel-core": "6.7.6", "babel-eslint": "6.0.2", "babel-loader": "6.2.4", "babel-preset-es2015": "6.6.0", "babel-preset-react": "6.5.0", "babel-preset-stage-1": "6.5.0", "babel-register": "6.7.2", "chai": "3.5.0", "codecov.io": "0.1.6", "commitizen": "2.7.6", "cz-conventional-changelog": "1.1.5", "enzyme": "2.2.0", "eslint": "2.7.0", "eslint-config-airbnb": "6.2.0", "eslint-loader": "1.3.0", "eslint-plugin-mocha": "2.1.0", "eslint-plugin-react": "4.3.0", "ghooks": "1.2.0", "isparta": "4.0.0", "jsdom": "8.3.1", "mocha": "2.4.5", "path": "0.12.7", "react": "15.0.1", "react-addons-test-utils": "15.0.1", "react-dom": "15.0.1", "semantic-release": "^6.2.1", "sinon": "1.17.3", "sinon-chai": "2.8.0", "stats-webpack-plugin": "0.3.1", "webpack": "1.12.15" }, "peerDependencies": { "react": "^0.14.0 || ^15.0.0" }, "czConfig": { "path": "node_modules/cz-conventional-changelog" }, "config": { "ghooks": { "pre-commit": "npm run test" } } }