Select Git revision
-
Antoine Roy authoredAntoine Roy authored
package.json 5.09 KiB
{
"name": "mirador",
"version": "3.3.0",
"description": "An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.",
"main": "dist/cjs/src/index.js",
"module": "dist/es/src/index.js",
"files": [
"dist/**"
],
"sideEffects": false,
"scripts": {
"prepare": "npm run clean && npm run build:es && npm run build:cjs",
"clean": "rm -rf ./dist",
"lint": "node_modules/.bin/eslint ./ && npm run lint:translations && npm run lint:containers",
"lint:containers": "node ./scripts/container-lint.js",
"lint:translations": "node ./scripts/i18n-lint.js",
"server": "node_modules/.bin/http-server --cors",
"test:ci": "jest -c jest.json --ci --reporters=default --reporters=jest-junit --watchAll=false --runInBand",
"test": "npm run build && npm run lint && npm run size && jest -c jest.json",
"test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand",
"test:watch": "jest -c jest.json --watch",
"build": "NODE_ENV=production webpack --mode=production",
"build:dev": "webpack --mode=development",
"build:es": "mkdir -p dist/es && cp -r src dist/es && NODE_ENV=production MODULE_FORMAT=es babel dist/es -d dist/es",
"build:cjs": "mkdir -p dist/cjs && cp -r src dist/cjs && NODE_ENV=production MODULE_FORMAT=cjs babel dist/cjs -d dist/cjs",
"build:watch": "webpack --watch --mode=development",
"prepublishOnly": "npm run clean && npm run build:es && npm run build:cjs && npm run build",
"size": "bundlewatch --config bundlewatch.config.json",
"start": "NODE_ENV=development webpack serve --open"
},
"license": "Apache-2.0",
"contributors": [
"Drew Winget <scipioaffricanus@gmail.com> (https://aeschylus.net/)",
"Jack Reed <phillipjreed@gmail.com> (https://www.jack-reed.com)"
],
"repository": "https://github.com/ProjectMirador/mirador",
"dependencies": {
"@hello-pangea/dnd": "^16.0.1",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.53",
"classnames": "^2.2.6",
"clsx": "^1.0.4",
"deepmerge": "^4.2.2",
"dompurify": "^2.0.11",
"i18next": "^21.0.0 || ^22.0.0",
"icomcom-react": "^1.0.1",
"jss": "^10.3.0",
"jss-rtl": "^0.3.0",
"lodash": "^4.17.11",
"manifesto.js": "^4.2.0",
"normalize-url": "^4.5.0",
"openseadragon": "^2.4.2",
"prop-types": "^15.6.2",
"re-reselect": "^4.0.0",
"react-aria-live": "^2.0.5",
"react-copy-to-clipboard": "^5.0.1",
"react-dnd": "^10.0.2",
"react-dnd-html5-backend": "^10.0.2",
"react-dnd-multi-backend": "^5.0.0",
"react-dnd-touch-backend": "^10.0.2",
"react-full-screen": "^1.1.1",
"react-i18next": "^11.7.0 || ^12.0.0",
"react-image": "^4.0.1",
"react-intersection-observer": "^9.0.0",
"react-mosaic-component": "^4.0.1",
"react-redux": "^7.1.0 || ^8.0.0",
"react-resize-observer": "^1.1.1",
"react-rnd": "^10.1",
"react-sizeme": "^2.6.7 || ^3.0.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.2",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"url": "^0.11.0",
"uuid": "^8.1.0 || ^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.7",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.17.3",
"@babel/plugin-transform-regenerator": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"bundlewatch": "^0.3.3",
"chalk": "^4.1.0",
"core-js": "^3.21.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.0",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.2.0",
"expect-puppeteer": "^6.1.1",
"glob": "^8.0.3",
"http-server": "^14.1.0",
"jest": "^29.3.1",
"jest-fetch-mock": "^3.0.0",
"jest-junit": "^15.0.0",
"jest-puppeteer": "^6.1.0",
"jsdom": "^21.0.0",
"puppeteer": "^13.7.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-refresh": "^0.14.0",
"redux-mock-store": "^1.5.1",
"redux-saga-test-plan": "^4.0.0-rc.3",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.70.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.7.4"
},
"peerDependencies": {
"react": "^16.14.0",
"react-dom": "^16.14.0"
}
}