UNPKG

react-portal

Version:

To make your life with React Portals easier.

80 lines (79 loc) 2.13 kB
{ "name": "react-portal", "version": "4.3.0", "description": "To make your life with React Portals easier.", "main": "lib/index.js", "module": "es/index.js", "sideEffects": false, "jsnext:main": "es/index.js", "browserslist": "last 2 versions, ie 11", "files": [ "*.md", "LICENSE", "lib", "es" ], "repository": { "type": "git", "url": "https://github.com/tajo/react-portal" }, "author": "Vojtech Miksu <vojtech@miksu.cz>", "license": "MIT", "scripts": { "build": "npm run clean && npm run build-es && npm run build-cjs", "build-es": "babel ./src --out-dir ./es", "build-cjs": "cross-env BABEL_ENV=commonjs babel ./src --out-dir ./lib", "build:examples": "cross-env webpack", "clean": "rimraf es lib build", "prepublish": "cross-env NODE_ENV=production npm run build", "lint": "eslint webpack.config.js src/**/*.js", "format": "prettier --write \"**/*.js\"", "test": "cross-env BABEL_ENV=commonjs jest --no-cache", "react": "enzyme-adapter-react-install 16" }, "tags": [ "react" ], "jest": { "setupFiles": [ "raf/polyfill" ] }, "keywords": [ "react", "react-component", "modal", "lightbox", "react-portal", "portal", "transportation" ], "dependencies": { "prop-types": "^15.5.8" }, "devDependencies": { "babel-cli": "^6.8.0", "babel-core": "^6.8.0", "babel-eslint": "^8.0.1", "babel-jest": "^21.2.0", "babel-loader": "^7.1.1", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.3.13", "cross-env": "^5.0.1", "enzyme": "^3.1.0", "enzyme-adapter-react-helper": "^1.2.2", "eslint": "^4.3.0", "eslint-plugin-prettier": "^2.1.2", "jest": "^21.2.1", "prettier": "^1.5.3", "raf": "^3.4.0", "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0", "react-dom": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0", "rimraf": "^2.5.0", "webpack": "^3.4.1" }, "peerDependencies": { "react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0", "react-dom": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0" } }