UNPKG

react-extras

Version:

Useful components and utilities for working with React

101 lines (100 loc) 1.97 kB
{ "name": "react-extras", "version": "3.0.1", "description": "Useful components and utilities for working with React", "license": "MIT", "repository": "sindresorhus/react-extras", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": { "types": "./index.d.ts", "default": "./dist/index.js" }, "types": "./index.d.ts", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "build": "babel 'source/*.js' --out-dir=dist", "test": "xo && tsd", "prepare": "npm run build" }, "files": [ "dist", "index.d.ts" ], "keywords": [ "react", "extras", "component", "components", "util", "utils", "utilities", "helper", "helpers", "auto-bind", "autobind", "bind", "class", "css", "classname", "classnames", "classes" ], "dependencies": { "@sindresorhus/class-names": "^2.0.0", "auto-bind": "^5.0.1", "prop-types": "^15.8.1" }, "devDependencies": { "@ava/babel": "^2.0.0", "@babel/cli": "^7.17.0", "@babel/core": "^7.17.2", "@babel/preset-react": "^7.16.7", "@babel/register": "^7.17.0", "@types/react": "^17.0.39", "ava": "^3.15.0", "browser-env": "^3.3.0", "esm": "^3.2.25", "jest-prop-type-error": "^1.1.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "tsd": "^0.19.1", "xo": "^0.48.0" }, "peerDependencies": { "react": ">=17" }, "xo": { "envs": [ "node", "browser" ], "rules": { "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-unsafe-call": "off", "node/file-extension-in-import": "off" } }, "ava": { "babel": true, "require": [ "@babel/register", "jest-prop-type-error" ] }, "babel": { "presets": [ "@babel/preset-react" ] } }