react-tooltip
Advanced tools
Comparing version 0.1.7 to 0.1.8
{ | ||
"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 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1630603
2
19
21870
66
8
1
+ Addedreact@19.0.0(transitive)
- Removedjest@^0.1.39
- Removedrcss@^0.1.5
- Removedreact@^0.13.1
- Removedacorn@5.7.4(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedast-types@0.9.6(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase62@1.2.8(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcharenc@0.0.2(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcommoner@0.10.8(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcrypt@0.0.2(transitive)
- Removeddeep-extend@0.2.11(transitive)
- Removeddefined@1.0.1(transitive)
- Removeddetective@4.7.1(transitive)
- Removedenvify@3.4.1(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedesprima@3.1.3(transitive)
- Removedesprima-fb@15001.1.0-dev-harmony-fb(transitive)
- Removedglob@5.0.15(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjest@0.1.40(transitive)
- Removedjstransform@11.0.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedobject-assign@2.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprivate@0.1.8(transitive)
- Removedq@1.5.1(transitive)
- Removedrcss@0.1.5(transitive)
- Removedreact@0.13.3(transitive)
- Removedrecast@0.11.23(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsha1@1.1.1(transitive)
- Removedsji@0.0.1(transitive)
- Removedsource-map@0.4.40.5.7(transitive)
- Removedthrough@2.3.8(transitive)
- Removedunderscore@1.13.7(transitive)
- Removedvalid-css-props@0.0.5(transitive)
- Removedvalid-media-queries@0.0.3(transitive)
- Removedwrappy@1.0.2(transitive)