UNPKG

react-render-callback

Version:

render-prop helper to render anything (Functions, Components, Elements, ...)

80 lines (79 loc) 2.34 kB
{ "name": "react-render-callback", "version": "1.2.5", "description": "render-prop helper to render anything (Functions, Components, Elements, ...)", "homepage": "https://github.com/sastan/react-render-callback#readme", "main": "dist/react-render-callback.cjs.js", "module": "dist/react-render-callback.esm.js", "unpkg": "dist/react-render-callback.umd.min.js", "typings": "typings/index.d.ts", "author": "Sascha Tandel <s.tandel@me.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sastan/react-render-callback.git" }, "bugs": { "url": "https://github.com/sastan/react-render-callback/issues" }, "scripts": { "add-contributor": "kcd-scripts contributors add", "build": "kcd-scripts build --bundle --no-clean --size-snapshot", "lint": "kcd-scripts lint", "test": "kcd-scripts test", "test:cover": "kcd-scripts test --coverage", "test:update": "npm test -- --updateSnapshot --coverage", "test:build": "jest --projects other/misc-tests", "flowgen": "flowgen typings/index.d.ts -o flow-typed/npm/react-render-callback_v1.x.x.js.flow", "build-and-test": "npm run build -s && npm run test:build -s", "validate": "kcd-scripts validate lint,test:cover,build-and-test", "setup": "npm install && npm run validate -s", "precommit": "kcd-scripts precommit" }, "engines": { "node": ">=8.0.0" }, "sideEffects": false, "peerDependencies": { "react": "^0.14 || ^15 || ^16" }, "dependencies": { "@babel/runtime": "^7.0.0" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.0.0", "@types/react": "^0.14 || ^15 || ^16", "ajv": "^6.5.3", "babel-plugin-dynamic-import-node": "^2.1.0", "flowgen": "^1.2.2", "kcd-scripts": "^0.44.0", "react": "^0.14 || ^15 || ^16", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.1.0", "semver": "^5.5.1" }, "eslintConfig": { "extends": "./node_modules/kcd-scripts/eslint.js" }, "eslintIgnore": [ "node_modules", "coverage", "dist" ], "files": [ "dist", "flow-typed", "typings" ], "keywords": [ "react", "render-prop", "render-props", "function-as-child", "component-injection", "facc" ], "publishConfig": { "access": "public" } }