UNPKG

react-popper-tooltip

Version:

React tooltip library built around react-popper

104 lines (103 loc) 3.01 kB
{ "name": "react-popper-tooltip", "version": "4.2.0", "description": "React tooltip library built around react-popper", "author": "Mohsin Ul Haq <mohsinulhaq01@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mohsinulhaq/react-popper-tooltip" }, "keywords": [ "react", "tooltip", "popover", "overlay", "react-tooltip", "react-popper" ], "main": "dist/cjs/react-popper-tooltip.js", "module": "dist/esm/react-popper-tooltip.js", "typings": "dist/index.d.ts", "style": "dist/styles.css", "files": [ "dist" ], "sideEffects": [ "dist/styles.css" ], "scripts": { "build": "rm -rf dist && rollup -c && cp src/styles.css dist && yarn tsc && rm -rf compiled", "prepare": "yarn typecheck && yarn lint && yarn build && yarn test", "prettier": "prettier --write src/**/*.{ts,tsx}", "typecheck": "tsc --noEmit", "lint": "eslint \"{src,tests,examples}**/*.{ts,tsx}\"", "start": "rollup -c -w", "test": "jest tests/", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", "_postinstall": "husky install", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, "jest": { "modulePathIgnorePatterns": [ "<rootDir>/examples/" ], "setupFilesAfterEnv": [ "@testing-library/jest-dom/extend-expect" ] }, "lint-staged": { "**/*.(ts|tsx)": [ "prettier --write", "yarn lint --fix" ] }, "peerDependencies": { "react": ">=16.6.0", "react-dom": ">=16.6.0" }, "dependencies": { "@babel/runtime": "^7.13.2", "@popperjs/core": "^2.8.3", "react-popper": "^2.2.4" }, "devDependencies": { "@babel/core": "^7.13.1", "@babel/plugin-transform-runtime": "^7.13.2", "@babel/preset-env": "^7.13.0", "@babel/preset-react": "^7.12.13", "@babel/preset-typescript": "^7.13.0", "@storybook/addon-actions": "^6.1.19", "@storybook/addon-essentials": "^6.1.19", "@storybook/addon-links": "^6.1.19", "@storybook/react": "^6.1.19", "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.5", "@testing-library/user-event": "^12.7.2", "@types/jest": "^26.0.20", "@types/react": "^17.0.2", "@types/react-dom": "^17.0.1", "@typescript-eslint/eslint-plugin": "^4.15.2", "@typescript-eslint/parser": "^4.15.2", "babel-loader": "^8.2.2", "eslint": "^7.20.0", "eslint-config-prettier": "^8.0.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^5.1.1", "jest": "^26.6.3", "lint-staged": "^10.5.4", "pinst": "^2.1.6", "prettier": "^2.2.1", "react": "^17.0.1", "react-dom": "^17.0.1", "rollup": "^2.39.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-size-snapshot": "^0.12.0", "typescript": "^4.1.5" } }