react-fast-scroll-pdf
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "react-fast-scroll-pdf-example", | ||
"homepage": "https://wearemothership.github.io/react-fast-scroll-pdf", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "private": true, |
{ | ||
"name": "react-fast-scroll-pdf", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Image-based PDF viewer using pdfjs", | ||
"author": "wearemothership", | ||
"license": "MIT", | ||
"keywords": ["react", "pdf", "scroll", "ui", "react-component", "pdfjs", "pdf.js"], | ||
"keywords": [ | ||
"react", | ||
"pdf", | ||
"scroll", | ||
"ui", | ||
"react-component", | ||
"pdfjs", | ||
"pdf.js" | ||
], | ||
"repository": "wearemothership/react-fast-scroll-pdf", | ||
"main": "dist/main/index.js", | ||
"module": "dist/esm/index.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.module.js", | ||
"types": "dist/index.d.ts", | ||
@@ -87,6 +95,6 @@ "engines": { | ||
".": { | ||
"require": "./main/index.js", | ||
"default": "./esm/index.js" | ||
"require": "./dist/index.js", | ||
"default": "./dist/index.module.js" | ||
} | ||
} | ||
} |
@@ -9,3 +9,2 @@ import typescript from "@rollup/plugin-typescript"; | ||
import json from "@rollup/plugin-json"; | ||
import pkg from "./package.json"; | ||
@@ -18,4 +17,5 @@ const EXTENSIONS = [".js", ".jsx", ".ts", ".tsx", ".json"]; | ||
{ | ||
dir: pkg.main, | ||
format: "cjs", | ||
file: "./dist/index.js", | ||
format: "umd", | ||
name: "FastScrollPDF", | ||
exports: "named", | ||
@@ -26,6 +26,10 @@ sourcemap: true, | ||
"react-dom": "ReactDOM", | ||
"pdfjs-dist/legacy/web/pdf_viewer": "pdf_viewer", | ||
lodash: "_", | ||
immer: "immer", | ||
"react-html-parser": "ReactHTMLParser" | ||
}, | ||
}, | ||
{ | ||
dir: pkg.module, | ||
file: "./dist/index.module.js", | ||
format: "esm", | ||
@@ -32,0 +36,0 @@ exports: "named", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1431449
23640