UNPKG

render-fragment

Version:

A convenient way to return a JSX fragment without the wrapping `div` element and not worry about the version of React.

54 lines (53 loc) 1.55 kB
{ "name": "render-fragment", "version": "0.1.1", "description": "", "main": "./lib/index.js", "scripts": { "prepublish": "npm run lint && npm run _build && npm run _test", "build": "npm run lint && npm run _build", "_build": "babel src --out-dir lib --ignore '**/*.test.js'", "test": "npm run lint && npm run _test", "posttest": "cowsay Your tests all passed!", "_test": "echo", "test:watch": "jest --watch", "coveralls": "cat ./coverage/lcov.info | coveralls", "lint": "eslint src" }, "repository": { "type": "git", "url": "git+https://github.com/donavon/render-fragment.git" }, "keywords": [ "react", "react16", "fragment", "array", "components" ], "author": "Donavon West <github@donavon.com> (http://donavon.com)", "license": "MIT", "bugs": { "url": "https://github.com/donavon/render-fragment/issues" }, "homepage": "https://github.com/donavon/render-fragment#readme", "peerDependencies": { "react": "^15.0.0 || ^16.0.0", "prop-types": "^15.0.0 || ^16.0.0" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-eslint": "^8.0.2", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "cowsay": "^1.2.1", "eslint": "^3.19.0", "eslint-config-airbnb": "^15.0.1", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-react": "^7.5.1", "prop-types": "^15.6.0", "react": "^16.2.0" } }