UNPKG

react-simple-tooltip

Version:

A lightweight and simple tooltip component for React

85 lines (84 loc) 2.42 kB
{ "name": "react-simple-tooltip", "version": "2.6.1", "author": { "name": "Cédric Delpoux", "email": "xuopled@gmail.com" }, "description": "A lightweight and simple tooltip component for React", "files": [ "css", "es", "lib", "umd" ], "homepage": "https://github.com/xuopled/react-simple-tooltip#readme", "keywords": [ "react", "tooltip", "bubble" ], "license": "MIT", "main": "lib/index.js", "module": "es/index.js", "repository": { "type": "git", "url": "git+https://github.com/xuopled/react-simple-tooltip.git" }, "scripts": { "build": "nwb build-react-component", "clean": "nwb clean-module && nwb clean-demo", "deploy": "gh-pages -d demo/dist", "lint": "eslint src demo/src", "precommit": "lint-staged", "prepublish": "npm run snyk-protect; yarn run clean && yarn run build", "start": "nwb serve-react-demo --port 1190", "test": "jest --config jest.config.json --colors --no-cache", "test:snapshot:update": "jest --config jest.config.json --updateSnapshot", "test:watch": "yarn run test -- --watch", "snyk-protect": "snyk protect" }, "dependencies": { "@emotion/core": "^10.0.10", "snyk": "^1.189.0" }, "devDependencies": { "@emotion/babel-preset-css-prop": "^10.0.9", "babel-eslint": "^7.2.3", "babel-jest": "^20.0.3", "babel-plugin-emotion": "^10.0.9", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "emotion": "^10.0.9", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.10.0", "enzyme-to-json": "^3.3.5", "eslint": "^4.5.0", "eslint-config-prettier": "^2.3.0", "eslint-loader": "^1.9.0", "eslint-plugin-jest": "^20.0.3", "eslint-plugin-prettier": "^2.1.2", "eslint-plugin-react": "^7.3.0", "gh-pages": "^1.0.0", "html-loader": "^0.5.1", "husky": "^0.14.3", "jest": "^20.0.4", "jest-css-modules": "^1.1.0", "jest-emotion": "^10.0.11", "lint-staged": "^4.0.2", "markdown-loader": "^2.0.1", "nwb": "^0.18.0", "prettier": "^1.5.3", "prop-types": "^15.6.0", "react": "^16.8.4", "react-demo-page": "^0.2.2", "react-dom": "^16.8.4", "react-test-renderer": "^15.6.1", "sinon": "^4.2.2" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0" }, "snyk": true }