UNPKG

react-new-window

Version:

Pop a new window in React, using window.open API

68 lines (67 loc) 2.04 kB
{ "name": "react-new-window", "description": "Pop a new window in React, using window.open API", "version": "1.0.1", "keywords": [ "react", "window", "open", "popup" ], "main": "lib/react-new-window.js", "module": "es/react-new-window.js", "browser": "umd/react-new-window.js", "repository": "git@github.com:rmariuzzo/react-new-window.git", "author": "Rubens Mariuzzo <rubens@mariuzzo.com>", "license": "MIT", "files": [ "lib", "es", "umd", "types" ], "types": "./types/NewWindow.d.ts", "dependencies": { "prop-types": "^15.7.2" }, "devDependencies": { "@babel/core": "^7.15.8", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-transform-runtime": "^7.15.8", "@babel/preset-env": "^7.15.8", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^22.0.2", "@rollup/plugin-node-resolve": "^14.1.0", "@rollup/plugin-replace": "^4.0.0", "@storybook/addon-actions": "^6.3.12", "@storybook/addon-links": "^6.3.12", "@storybook/react": "^6.3.12", "babel-eslint": "^10.1.0", "cross-env": "^7.0.3", "eslint": "^8.1.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.26.1", "husky": "^7.0.4", "prettier": "^2.4.1", "pretty-quick": "^3.1.1", "react": "^16.14.0", "react-dom": "^16.14.0", "react-test-renderer": "^17.0.2", "rimraf": "^3.0.2", "rollup": "^2.79.1", "rollup-plugin-filesize": "^9.1.2", "rollup-plugin-terser": "^7.0.2" }, "peerDependencies": { "react": "^16.0.0 || ^18.0.0", "react-dom": "^16.0.0 || ^18.0.0" }, "scripts": { "build": "cross-env NODE_ENV=production rollup -c", "clean": "rimraf 'es' 'lib' 'umd' 'docs'", "build-storybook": "cross-env NODE_ENV=test NODE_OPTIONS=--openssl-legacy-provider build-storybook -o docs", "lint": "eslint ./src", "postversion": "git push origin && git push origin --tags", "storybook": "cross-env NODE_ENV=test start-storybook -p 6006" } }