UNPKG

react-float-anchor

Version:

React component for positioning an element aligned to another

85 lines (84 loc) 2.76 kB
{ "name": "react-float-anchor", "version": "3.4.1", "description": "React component for positioning an element aligned to another", "main": "js/index.js", "sideEffects": false, "scripts": { "prepare": "rimraf js && babel -s true -d js/ src/ --ignore '**/*.test.js' && flow-copy-source -v src js --ignore '**/*.test.*'", "example-build": "cross-env NODE_ENV=development browserify -t babelify -do example/bundle.js example/main.js", "example-watch": "cross-env NODE_ENV=development watchify -v -t babelify -do example/bundle.js example/main.js", "example-build-prod": "cross-env NODE_ENV=production browserify -t babelify -do example/bundle.js example/main.js", "test": "yarn run lint && yarn run flow_check && jest && tsc", "flow_check": "flow check", "lint": "eslint .", "lint-fix": "eslint . --fix" }, "repository": { "type": "git", "url": "git+https://github.com/StreakYC/react-float-anchor.git" }, "keywords": [ "react", "react-component", "menu", "submenu" ], "files": [ "js", "index.d.ts" ], "author": "Chris Cowan <agentme49@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/StreakYC/react-float-anchor/issues" }, "homepage": "https://github.com/StreakYC/react-float-anchor#readme", "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/eslint-parser": "^7.18.9", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-syntax-flow": "^7.18.6", "@babel/plugin-transform-react-jsx": "^7.18.6", "@babel/plugin-transform-runtime": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "@types/react": "^17.0.2", "babel-jest": "^28.1.3", "babel-plugin-add-module-exports": "^1.0.0", "babelify": "^10.0.0", "browserify": "^17.0.0", "cross-env": "^7.0.3", "eslint": "^8.20.0", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-react": "^7.4.0", "flow-bin": "^0.183.0", "flow-copy-source": "^2.0.2", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", "react": "^17.0.1", "react-dom": "^17.0.1", "react-test-renderer": "^17.0.1", "rimraf": "^3.0.0", "sinon": "^14.0.0", "sinon-test": "^3.0.0", "typescript": "^4.1.5", "watchify": "^4.0.0" }, "dependencies": { "@babel/runtime": "^7.0.0", "contain-by-screen": "^2.1.0", "event-listener-with-options": "^1.0.2", "kefir": "^3.5.1", "kefir-bus": "^2.2.0", "lodash": "^4.6.1", "prop-types": "^15.6.0" }, "peerDependencies": { "react": "^16.6.0 || ^17.0.0", "react-dom": "^16.6.0 || ^17.0.0" } }