UNPKG

react-render-function

Version:
131 lines (130 loc) 4.03 kB
{ "name": "react-render-function", "version": "3.1.0", "description": "render react component as function", "main": "dist/cjs/index.js", "module": "dist/es/index.js", "jsnext:main": "dist/es/index.js", "unpkg": "dist/umd/index.min.js", "files": [ "dist" ], "typings": "dist/index.d.ts", "keywords": [ "render props", "function as child component", "react facc", "component injectioon", "react" ], "author": "Shriyans Bhatnagar <shriyansbhatnagar@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/shrynx/react-render-function.git" }, "bugs": { "url": "https://github.com/shrynx/react-render-function/issues" }, "homepage": "https://github.com/shrynx/react-render-function#readme", "scripts": { "flow": "flow", "flow:coverage": "flow-coverage-report -i 'src/**/*.js' -t html -t json -t text --threshold 90", "lint": "eslint '+(src|tests)/**/*.js'", "format": "prettier-eslint --write '+(src|tests)/**/*.js' '*.md'", "test": "jest --silent", "test:watch": "jest --watch --silent", "test:ci": "npm run test && cat ./coverage/lcov.info | coveralls", "commit": "git-cz", "commit:retry": "git-cz --retry", "commitmsg": "commitlint -e", "clean": "rimraf dist", "build": "npm run clean && rollup -c", "bundlesize": "npm run build && bundlesize", "prepublishOnly": "npm run test && npm run build", "start:examples": "cross-env NODE_ENV=development parcel examples/index.html --out-dir examples/build --open", "build:examples": "cross-env NODE_ENV=production parcel build examples/index.html --out-dir examples/build --public-url /" }, "sideEffects": false, "lint-staged": { "+(src|tests)/**/*.js": [ "eslint", "prettier-eslint --write", "git add" ], "*.md": [ "prettier-eslint --write", "git add" ] }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "husky": { "hooks": { "pre-commit": "npm run test && lint-staged" } }, "bundlesize": [ { "path": "dist/umd/index.min.js", "maxSize": "350b" } ], "devDependencies": { "@commitlint/cli": "^6.1.3", "@commitlint/config-conventional": "^6.1.3", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.2", "babel-jest": "^22.4.3", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-inline-environment-variables": "^0.3.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "bundlesize": "^0.17.0", "change-case": "^3.0.2", "commitizen": "^2.9.6", "coveralls": "^3.0.0", "cross-env": "^5.1.4", "cz-conventional-changelog": "^2.1.0", "eslint": "^4.19.1", "eslint-config-prettier": "^2.9.0", "eslint-config-standard": "^11.0.0", "eslint-config-standard-react": "^6.0.0", "eslint-plugin-flowtype": "^2.46.1", "eslint-plugin-import": "^2.9.0", "eslint-plugin-jest": "^21.15.0", "eslint-plugin-node": "^6.0.1", "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-promise": "^3.7.0", "eslint-plugin-react": "^7.7.0", "eslint-plugin-standard": "^3.0.1", "flow-bin": "^0.68.0", "flow-coverage-report": "^0.5.0", "husky": "^0.15.0-rc.8", "jest": "^22.4.3", "lint-staged": "^7.0.0", "parcel-bundler": "^1.6.2", "prettier": "^1.11.1", "prettier-eslint-cli": "^4.7.1", "react": "^16.2.0", "react-dom": "^16.2.0", "react-test-renderer": "^16.2.0", "react-testing-library": "^1.6.0", "rimraf": "^2.6.2", "rollup": "^0.57.1", "rollup-plugin-babel": "^3.0.3", "rollup-plugin-commonjs": "^9.1.0", "rollup-plugin-cpy": "^1.0.0", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^3.0.0" }, "peerDependencies": { "react": "^0.14.0 || ^15.0.0 || ^16.0.0" } }