@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
159 lines (158 loc) • 5.22 kB
JSON
{
"name": "@tindtechnologies/universalviewer",
"version": "4.2.2-alpha.0",
"description": "The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎",
"engines": {
"node": ">=20",
"npm": ">=8.1.1"
},
"files": [
"dist/",
"webpack-helpers.js"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/cjs/index.d.ts",
"web": "dist/umd/UV.js",
"scripts": {
"e2eserve": "npx serve dist -p 4444",
"lint-code": "eslint --fix \"./{__tests__,scripts,src}/**/*.{js,jsx,ts,tsx}\"",
"lint-styles": "stylelint --fix \"./src/**/*.{less,css}\"",
"lint": "npm run lint-code && npm run lint-styles",
"prettify": "prettier --write \"./{__tests__,scripts,src}/**/*.{js,jsx,json,css,less,ts,tsx}\" --ignore-path .prettierignore",
"fix": "npm run lint && npm run prettify",
"dev": "npm run start",
"start": "npx webpack serve -c webpack.dev-server.js",
"build": "webpack -c webpack.config.js",
"build-es": "node ./esbuild.mjs",
"build-tsc": "tsc --skipLibCheck --module CommonJS --esModuleInterop --declarationDir ./dist/cjs --declaration --outDir ./dist/cjs -p . && npm run copy-files",
"copy-files": "copyfiles -u 1 src/**/*.svg dist/cjs && copyfiles -u 1 src/**/*.gif dist/cjs && copyfiles -u 1 src/**/*.less dist/cjs && copyfiles -u 1 src/extensions/**/*.less dist/cjs && copyfiles -u 1 src/**/*.css dist/cjs",
"docs": "typedoc --plugin typedoc-plugin-missing-exports ; echo docs.universalviewer.io > docs/CNAME",
"test": "jest",
"prepublishOnly": "npm run build && npm run build-tsc && npm run build-es",
"checkLocaleUsage": "node scripts/validate_locale.ts checkLocaleUsage",
"findMissingTranslations": "node scripts/validate_locale.ts missingTranslations",
"findHardCodedLocaleStrings": "node scripts/validate_locale.ts hardCodedStrings"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tind/universalviewer.git"
},
"keywords": [
"IIIF",
"Viewer",
"Image",
"AV",
"PDF",
"ePub",
"3D"
],
"author": "@edsilv",
"license": "MIT",
"bugs": {
"url": "https://github.com/tind/universalviewer/issues"
},
"homepage": "https://github.com/tind/universalviewer",
"devDependencies": {
"@eslint/js": "9.28.0",
"@types/jest": "^29",
"@types/jquery": "^3.5.14",
"@types/node": "^22.9.0",
"@types/react": "^19.0.2",
"@types/react-dom": "^18.0.0",
"async": "0.9.0",
"chai": "5.1.2",
"copy-webpack-plugin": "^13.0.0",
"css-loader": "^5.0.1",
"eslint": "9.27.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-prettier": "5.4.0",
"eslint-plugin-react": "7.37.5",
"file-loader": "^6.2.0",
"html-webpack-plugin": "5.6.3",
"jest": "^29",
"jest-puppeteer": "^10",
"less": "^4.4.2",
"less-loader": "^12.3.0",
"lodash": "4.17.23",
"postcss-less": "6.0.0",
"prettier": "^3.5.3",
"puppeteer": "^23",
"source-map-loader": "^5.0.0",
"style-loader": "4.0.0",
"stylelint": "16.19.1",
"stylelint-config-standard-less": "3.0.1",
"stylelint-less": "3.0.1",
"ts-jest": "^29",
"ts-loader": "^9.5.1",
"typedoc": "^0.28.5",
"typedoc-plugin-missing-exports": "^4.1.0",
"typescript": "^5",
"typescript-eslint": "8.36.0",
"url-loader": "4.1.1",
"webpack": "^5.59.1",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "5.2.1"
},
"dependencies": {
"@google/model-viewer": "^4.0.0",
"@iiif/base-component": "2.0.1",
"@iiif/iiif-av-component": "1.2.4",
"@iiif/manifold": "^2.2.0",
"@iiif/presentation-3": "^1.0.5",
"@iiif/vocabulary": "^1.0.31",
"@openseadragon-imaging/openseadragon-viewerinputhook": "^2.2.1",
"@universalviewer/aleph": "0.0.21",
"@universalviewer/uv-ebook-components": "1.0.2",
"@webcomponents/webcomponentsjs": "^2.4.3",
"classnames": "^2.3.1",
"clean-css": "^5.2.2",
"copyfiles": "^2.4.1",
"esbuild": "^0.25.0",
"esbuild-plugin-less": "^1.1.5",
"esbuild-plugin-svg": "^0.1.0",
"jsviews": "1.0.15",
"less-plugin-clean-css": "^1.5.1",
"manifesto.js": "^4.3.0",
"mediaelement": "4.2.15",
"mediaelement-plugins": "5.0.0",
"openseadragon": "4.0.0",
"pdfjs-dist": "3.11.174",
"pdfobject": "2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-intersection-observer": "^9.13.0",
"waveform-panel": "^1.2.0",
"xss": "1.0.15",
"zustand": "^5.0.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/universalviewer",
"logo": "https://opencollective.com/opencollective/logo.txt"
},
"jest": {
"preset": "jest-puppeteer",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"diagnostics": true
}
]
},
"testPathIgnorePatterns": [
"/node_modules/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}