123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- {
- "name": "react-floater",
- "version": "0.7.9",
- "description": "Floaters everywhere!",
- "author": "Gil Barbara <gilbarbara@gmail.com>",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/gilbarbara/react-floater.git"
- },
- "bugs": {
- "url": "https://github.com/gilbarbara/react-floater/issues"
- },
- "homepage": "https://github.com/gilbarbara/react-floater#readme",
- "main": "lib/index.js",
- "module": "es/index.js",
- "files": [
- "es",
- "lib",
- "types/*.ts"
- ],
- "types": "./types/index.d.ts",
- "keywords": [
- "react",
- "react-component",
- "component",
- "tooltip",
- "modal",
- "popup",
- "alert",
- "notification"
- ],
- "license": "MIT",
- "peerDependencies": {
- "react": "15 - 18",
- "react-dom": "15 - 18"
- },
- "dependencies": {
- "deepmerge": "^4.3.1",
- "is-lite": "^0.8.2",
- "popper.js": "^1.16.0",
- "prop-types": "^15.8.1",
- "tree-changes": "^0.9.1"
- },
- "devDependencies": {
- "@babel/cli": "7.23.4",
- "@babel/core": "7.23.5",
- "@babel/eslint-parser": "^7.23.3",
- "@babel/plugin-external-helpers": "7.23.3",
- "@babel/plugin-proposal-class-properties": "7.17.12",
- "@babel/plugin-proposal-decorators": "7.23.5",
- "@babel/plugin-proposal-do-expressions": "7.23.3",
- "@babel/plugin-proposal-export-default-from": "7.23.3",
- "@babel/plugin-proposal-export-namespace-from": "7.17.12",
- "@babel/plugin-proposal-function-bind": "7.23.3",
- "@babel/plugin-proposal-function-sent": "7.23.3",
- "@babel/plugin-proposal-json-strings": "7.17.12",
- "@babel/plugin-proposal-logical-assignment-operators": "7.17.12",
- "@babel/plugin-proposal-nullish-coalescing-operator": "7.17.12",
- "@babel/plugin-proposal-numeric-separator": "7.16.7",
- "@babel/plugin-proposal-optional-chaining": "7.17.12",
- "@babel/plugin-proposal-pipeline-operator": "7.23.3",
- "@babel/plugin-proposal-throw-expressions": "7.23.3",
- "@babel/plugin-syntax-dynamic-import": "7.8.3",
- "@babel/plugin-syntax-import-meta": "7.10.4",
- "@babel/plugin-transform-flow-strip-types": "7.23.3",
- "@babel/preset-env": "7.23.5",
- "@babel/preset-flow": "7.23.3",
- "@babel/preset-react": "7.23.3",
- "@rollup/plugin-commonjs": "^22.0.0",
- "@rollup/plugin-node-resolve": "^13.3.0",
- "@size-limit/preset-small-lib": "^11.0.1",
- "@types/react": "^17.0.46",
- "autoprefixer": "^10.4.16",
- "babel-core": "^7.0.0-bridge.0",
- "babel-eslint": "^10.0.3",
- "babel-plugin-array-includes": "^2.0.3",
- "babel-plugin-transform-node-env-inline": "^0.4.3",
- "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
- "cross-env": "^7.0.3",
- "dtslint": "^4.2.1",
- "enzyme": "^3.11.0",
- "enzyme-adapter-react-16": "^1.15.7",
- "enzyme-to-json": "^3.6.2",
- "eslint": "^8.55.0",
- "eslint-config-airbnb": "^19.0.4",
- "eslint-config-prettier": "^9.1.0",
- "eslint-plugin-babel": "^5.3.1",
- "eslint-plugin-flowtype": "^8.0.3",
- "eslint-plugin-import": "^2.29.0",
- "eslint-plugin-jsx-a11y": "^6.8.0",
- "eslint-plugin-prettier": "^5.0.1",
- "eslint-plugin-react": "^7.33.2",
- "flow-bin": "^0.113.0",
- "husky": "^8.0.3",
- "is-ci-cli": "^2.2.0",
- "jest": "^29.7.0",
- "jest-environment-jsdom": "^29.7.0",
- "jest-enzyme": "^7.1.2",
- "jest-extended": "^4.0.2",
- "jest-watch-typeahead": "^2.2.2",
- "lint-staged": "^15.2.0",
- "prettier": "^3.1.0",
- "prop-types": "^15.8.1",
- "react": "^16.14.0",
- "react-dom": "^16.14.0",
- "repo-tools": "^0.3.1",
- "rimraf": "^5.0.5",
- "rollup": "^2.75.6",
- "rollup-plugin-babel": "^4.3.3",
- "size-limit": "^11.0.1",
- "styled-components": "^6.1.1",
- "watch-run": "^1.2.5"
- },
- "scripts": {
- "build": "npm run clean && npm run build:base && npm run build:umd",
- "build:base": "cross-env NODE_ENV=production rollup -c",
- "build:umd": "cross-env NODE_ENV=production rollup -c rollup.config.umd.js",
- "watch": "rollup -cw",
- "clean": "rimraf es && rimraf lib",
- "lint": "eslint --ext .js --ext .jsx src test",
- "test": "is-ci \"test:coverage\" \"test:watch\"",
- "test:coverage": "jest --bail --coverage",
- "test:watch": "jest --watchAll --verbose",
- "validate": "npm run lint && npm run test:coverage && flow && npm run build && npm run size",
- "format": "prettier \"**/*.{js,jsx,ts}\" --write",
- "size": "size-limit",
- "prepublishOnly": "npm run validate"
- },
- "size-limit": [
- {
- "name": "esm",
- "path": "./es/index.js",
- "limit": "20 kB"
- },
- {
- "name": "commonjs",
- "path": "./lib/index.js",
- "limit": "20 kB"
- }
- ],
- "prettier": {
- "jsxBracketSameLine": false,
- "arrowParens": "avoid",
- "printWidth": 100,
- "singleQuote": true,
- "trailingComma": "all"
- },
- "lint-staged": {
- "*.js?(x)": [
- "eslint --fix",
- "git add",
- "jest --findRelatedTests"
- ],
- "*.(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)": [
- "prettier --write",
- "git add"
- ]
- }
- }
|