New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
347
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tooltip - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

__tests__/index-test.js

31

package.json
{
"name": "react-tooltip",
"version": "0.1.7",
"version": "0.1.8",
"description": "react tooltip component",
"main": "index.js",
"main": "dist/react-tooltip.js",
"scripts": {
"test": "jest"
"test": "jest",
"build:js": "babel src/js/index.jsx --out-file dist/react-tooltip.js & babel src/js/index.jsx --out-file example/src/react-tooltip.js",
"build:css": "node-sass --output-style compressed src/scss/style.scss dist/react-tooltip.min.css",
"watch:js": "npm run build:js & watchify src/js/index.jsx -t babelify -o dist/react-tooltip.js -dv & watchify src/js/index.jsx -t babelify -o example/src/react-tooltip.js -dv",
"watch:css": "npm run build:css & node-sass -w --output-style compressed src/scss/style.scss dist/react-tooltip.min.css",
"build": "npm run build:js & npm run build:css & cp src/scss/style.scss dist/react-tooltip.scss & cp src/scss/style.scss example/src/react-tooltip.scss",
"dev": "npm run watch:js & npm run watch:css"
},
"jest": {
"scriptPreprocessor": "_test_/preprocessor.js",
"scriptPreprocessor": "<rootDir>/__tests__/preprocessor.js",
"unmockedModulePathPatterns": [
"./node_modules/react"
"<rootDir>/node_modules/react"
]

@@ -32,14 +38,17 @@ },

"peerDependencies": {
"react": ">=0.13.0"
"react": ">=0.12.0"
},
"dependencies": {
"classnames": "^1.2.0",
"jest": "^0.1.39",
"rcss": "^0.1.5",
"react": "^0.13.1"
"classnames": "^1.2.0"
},
"devDependencies": {
"babel": "^5.3.1",
"babelify": "^6.0.2",
"jest": "^0.1.39",
"jest-cli": "^0.4.0",
"react-tools": "^0.13.2"
"node-sass": "^3.0.0",
"react": "^0.13.1",
"react-tools": "^0.13.2",
"watchify": "^3.2.1"
}
}

@@ -21,9 +21,13 @@ # react-tooltip

```
2 . Include css or scss file(you can find the file in dist folder) into your project
```
sass: @import "react-tooltip";
```
2 . Add data-placeholder = "your placeholder" to your element
3 . Add data-placeholder = "your placeholder" to your element
<p data-placeholder="hello world">Tooltip</p>
3 . Including react-tooltip component
4 . Including react-tooltip component

@@ -30,0 +34,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc