@samvera/image-downloader
Version:
React component and JavaScript modules to help force an image download in the browser
72 lines (71 loc) • 2.12 kB
JSON
{
"name": "@samvera/image-downloader",
"version": "1.1.6",
"description": "React component and JavaScript modules to help force an image download in the browser",
"main": "dist/image-downloader.cjs.js",
"module": "dist/image-downloader.esm.js",
"browser": "dist/image-downloader.umd.js",
"files": [
"/dist"
],
"scripts": {
"build": "NODE_ENV=production rollup -c && styleguidist build",
"prepublishOnly": "npm run build",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"test": "jest --coverage --colors",
"test:watch": "jest --watch"
},
"keywords": [
"Download image",
"Blob",
"IIIF",
"Samvera"
],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.5",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.2",
"css-loader": "^6.7.3",
"jest": "^29.3.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-styleguidist": "^13.0.0",
"react-svg-loader": "^3.0.3",
"rollup": "^3.10.0",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-react-svg": "^3.0.3",
"rollup-plugin-sass": "^1.12.17",
"rollup-plugin-terser": "^7.0.1",
"style-loader": "^3.3.1",
"webpack": "^5.75.0"
},
"dependencies": {
"svg-loaders-react": "^2.2.1"
},
"peerDependencies": {
"react": "^16.13.1 || ^17 || ^18",
"react-dom": "^16.13.1 || ^17 || ^18"
},
"browserslist": [
">0.25%",
"not ie 11",
"not op_mini all"
],
"homepage": "https://samvera-labs.github.io/image-downloader/styleguide",
"repository": "git@github.com:samvera-labs/image-downloader.git"
}