react-video-seek-slider
Advanced tools
Comparing version 4.0.0 to 4.0.2
{ | ||
"name": "react-video-seek-slider", | ||
"description": "React video seek slider like youtube", | ||
"version": "4.0.0", | ||
"version": "4.0.2", | ||
"main": "/lib/index.js", | ||
@@ -9,4 +9,3 @@ "author": "Sergey Egorov", | ||
"files": [ | ||
"lib/", | ||
"index.d.ts" | ||
"/" | ||
], | ||
@@ -17,6 +16,6 @@ "scripts": { | ||
"copyDts": "cp ./lib/src/index.d.ts ./index.d.ts", | ||
"copyStyle": "cp ./lib/styles.css ./styles.css", | ||
"copyLib": "cp ./lib/* ./", | ||
"removeDts": "rm -rf ./lib/src", | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm run copyStyle && npm run copyDts && npm run removeDts", | ||
"prepublishOnly": "npm run copyDts && npm run removeDts && npm run copyLib", | ||
"postpublish": "git clean -df" | ||
@@ -23,0 +22,0 @@ }, |
@@ -17,9 +17,15 @@ # react-video-seek-slider | ||
```typescript | ||
import { VideoSeekSlider } from 'react-video-seek-slider'; | ||
import {VideoSeekSlider} from 'react-video-seek-slider'; | ||
``` | ||
or | ||
```javascript | ||
const VideoSeekSlider = require('react-video-seek-slider').VideoSeekSlider; | ||
``` | ||
Also you have to use css file in a lib folder: | ||
``` | ||
import "react-video-seek-slider/styles.css"; | ||
node_modules/react-video-seek-slider/lib/video-seek-slider.css | ||
``` | ||
@@ -26,0 +32,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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
233398
49
1648
77
3
1