{ "name": "react-popper", "version": "1.3.11", "description": "React wrapper around Popper.js", "license": "MIT", "author": "Travis Arnold (http://souporserious.com)", "homepage": "https://github.com/souporserious/react-popper", "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "typings": "typings/react-popper.d.ts", "sideEffects": false, "files": [ "/dist", "/lib", "/typings/react-popper.d.ts" ], "scripts": { "build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:flow", "build:clean": "rimraf dist/ && rimraf lib/", "build:umd": "rollup -c && rimraf dist/index.esm.js", "build:esm": "cross-env BABEL_ENV=esm babel src --out-dir lib/esm", "build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib/cjs", "build:flow": "flow-copy-source --ignore '{__mocks__/*,*.test}.js' src lib/cjs", "demo:dev": "parcel --out-dir demo/dist demo/index.html", "demo:build": "parcel build --out-dir demo/dist demo/index.html --public-url=/react-popper", "demo:deploy": "yarn demo:build && gh-pages -d demo/dist", "test": "npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest", "test:ts": "tsc --project ./typings/tests", "test:flow": "flow check", "test:jest": "jest", "test:eslint": "eslint src", "prepare": "npm run build", "precommit": "pretty-quick --staged && test" }, "jest": { "setupFilesAfterEnv": [ "jest.setup.js" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ] }, "repository": { "type": "git", "url": "https://github.com/souporserious/react-popper" }, "bugs": { "url": "https://github.com/souporserious/react-popper/issues" }, "keywords": [ "react", "react-popper", "popperjs", "component", "drop", "tooltip", "popover" ], "peerDependencies": { "react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" }, "dependencies": { "@babel/runtime": "^7.1.2", "@hypnosphi/create-react-context": "^0.3.1", "deep-equal": "^1.1.1", "popper.js": "^1.14.4", "prop-types": "^15.6.1", "typed-styles": "^0.0.7", "warning": "^4.0.2" }, "devDependencies": { "@babel/cli": "^7.1.2", "@babel/core": "^7.1.2", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-transform-modules-commonjs": "^7.1.0", "@babel/plugin-transform-runtime": "^7.1.0", "@babel/preset-env": "^7.1.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/preset-stage-2": "^7.0.0", "@types/react": "^16.1.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.0.0", "cross-env": "^5.1.4", "emotion": "^9.1.1", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.14.0", "enzyme-to-json": "^3.4.0", "eslint": "^4.19.1", "eslint-config-prettier": "^2.9.0", "eslint-plugin-flowtype": "^2.46.1", "eslint-plugin-jest": "^21.15.0", "eslint-plugin-promise": "^3.7.0", "eslint-plugin-react": "^7.7.0", "flow-bin": "^0.69.0", "flow-copy-source": "^1.3.0", "gh-pages": "^1.1.0", "git-branch-is": "^0.1.0", "jest": "^24.0.0", "parcel-bundler": "^1.10.1", "prettier": "^1.11.1", "pretty-quick": "^1.4.1", "react": "16.9.0", "react-dom": "^16.9.0", "react-emotion": "^9.1.1", "react-spring": "^8.0.27", "recompose": "^0.26.0", "rimraf": "^2.6.2", "rollup": "^0.60.0", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-size-snapshot": "^0.5.1", "rollup-plugin-uglify": "^4.0.0", "typescript": "^2.8.1" } }