Repository URL to install this package:
|
Version:
3.1.7 ▾
|
{
"name": "react-tooltip",
"version": "4.5.1",
"description": "react tooltip component",
"private": false,
"main": "dist/index.js",
"types": "dist/react-tooltip.d.ts",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"engines": {
"npm": ">=6.13"
},
"scripts": {
"test": "npm-run-all test:unit",
"pretest": "npm-run-all pretty:quick lint:staged",
"eslint:fix": "./node_modules/.bin/eslint . --ignore-path ./.eslintignore --fix",
"pretty:quick": "./node_modules/.bin/pretty-quick --staged",
"lint:staged": "./node_modules/.bin/lint-staged",
"test:unit": "mocha --require @babel/register --require ignore-styles test/*.spec.js",
"clean": "rimraf dist",
"build:rollup": "rollup -c",
"build": "npm-run-all clean copy:types build:rollup",
"build:watch": "rollup -c -w",
"start": "npm-run-all clean build:watch",
"gh-pages": "gh-pages -d example",
"github-changes": "github-changes -o ReactTooltip -r react-tooltip -a --only-pulls --use-commit-body",
"copy:types": "cpy ./react-tooltip.d.ts ./dist --parents --dot",
"cm": "git cz",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"repository": "https://github.com/ReactTooltip/react-tooltip",
"keywords": [
"react",
"react-component",
"tooltip",
"react-tooltip"
],
"author": "ReactTooltip",
"license": "MIT",
"bugs": {
"url": "https://github.com/ReactTooltip/react-tooltip/issues"
},
"homepage": "https://github.com/ReactTooltip/react-tooltip#readme",
"browserify-shim": {
"react": "global:React",
"react-dom": "global:ReactDOM"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"dependencies": {
"prop-types": "^15.8.1",
"uuid": "^7.0.3"
},
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.19.3",
"@babel/eslint-parser": "7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "7.19.3",
"@babel/plugin-proposal-json-strings": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.19.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/register": "^7.18.9",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@commitlint/travis-cli": "17.1.2",
"@rollup/plugin-commonjs": "23.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@svgr/rollup": "6.4.0",
"@testing-library/react": "13.4.0",
"babel-loader": "8.2.5",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"browserify-shim": "^3.8.15",
"chai": "^4.3.6",
"chai-enzyme": "^1.0.0-beta.1",
"chai-spies": "^1.0.0",
"commitizen": "4.2.5",
"concurrently": "7.4.0",
"core-js": "3.25.5",
"cpy-cli": "4.2.0",
"cz-conventional-changelog": "^3.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "8.25.0",
"eslint-config-jss": ">=5.0.1",
"eslint-config-prettier": ">=8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-react": ">=11.0.1",
"eslint-plugin-import": ">=2.26.0",
"eslint-plugin-node": ">=11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.0",
"eslint-plugin-react": "7.31.10",
"gh-pages": "4.0.0",
"github-changes": "^2.0.3",
"http-server": "^14.1.1",
"husky": "^8.0.0",
"ignore-styles": "5.0.1",
"jsdom": "20.0.1",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"mocha-each": "^2.0.1",
"mocha-jsdom": "^2.0.0",
"npm-run-all": "^4.1.5",
"postcss-nested": "^5.0.6",
"postcss-scss": "4.0.5",
"postcss-simple-vars": "^6.0.3",
"prettier": "2.7.1",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-addons-test-utils": "^15.1.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.77.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-eslint": "7.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sass": "1.12.16",
"rollup-plugin-stylelint": "1.0.0",
"rollup-plugin-url": "^3.0.1",
"sass": "1.55.0",
"semantic-release": "19.0.5",
"snazzy": "^9.0.0",
"standard": "^17.0.0",
"stylelint": "14.13.0",
"stylelint-config-standard": "26.0.0",
"uglifyjs": "^2.4.10",
"watchify": "^4.0.0"
},
"files": [
"dist"
],
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"branch": "master"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts}": "yarn eslint:fix"
},
"husky": {
"hooks": {
"pre-commit": "yarn pretest",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}