{
    "name": "box-content-preview",
    "version": "3.128.0",
    "description": "Box Content Preview UI Element",
    "author": "Box (https://www.box.com/)",
    "license": "SEE LICENSE IN LICENSE",
    "repository": {
        "type": "git",
        "url": "git@github.com:box/box-content-preview.git"
    },
    "main": "dist/lib/index.js",
    "module": "dist/lib/index.js",
    "types": "dist/lib/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/lib/index.d.ts",
            "import": "./dist/lib/index.js",
            "default": "./dist/lib/index.js"
        },
        "./styles.css": "./dist/lib/index.css",
        "./pdf.worker.min.mjs": "./dist/lib/pdf.worker.min.mjs",
        "./i18n/*.js": {
            "types": "./dist/lib/i18n/messages.d.ts",
            "default": "./dist/lib/i18n/*.js"
        },
        "./i18n/*": {
            "types": "./dist/lib/i18n/messages.d.ts",
            "default": "./dist/lib/i18n/*.js"
        },
        "./package.json": "./package.json"
    },
    "files": [
        "dist/lib"
    ],
    "sideEffects": [
        "*.css",
        "*.scss"
    ],
    "publishConfig": {
        "access": "public"
    },
    "dependencies": {
        "pdfjs-dist": "6.4.299",
        "wavesurfer.js": "7.12.11"
    },
    "peerDependencies": {
        "@box/blueprint-web": "^18.3.0",
        "@box/blueprint-web-assets": "^5.13.0",
        "@box/react-virtualized": "^9.22.3-rc-box.10",
        "axios": "^0.34.0",
        "box-annotations": "^5.2.1-beta.0",
        "box-ui-elements": "^20.0.0",
        "react": "^18.0.0",
        "react-dom": "^18.0.0",
        "react-intl": "^8.1.3"
    },
    "devDependencies": {
        "@babel/core": "^7.18.6",
        "@babel/eslint-parser": "^7.24.1",
        "@babel/plugin-proposal-class-properties": "^7.18.6",
        "@babel/plugin-proposal-object-rest-spread": "^7.18.6",
        "@babel/plugin-transform-object-assign": "^7.18.6",
        "@babel/preset-env": "^7.24.7",
        "@babel/preset-react": "^7.18.6",
        "@babel/preset-typescript": "^7.18.6",
        "@box/blueprint-web": "^18.3.0",
        "@box/blueprint-web-assets": "^5.13.0",
        "@box/frontend": "^11.0.1",
        "@box/item-icon": "3.6.19",
        "@box/languages": "^1.0.0",
        "@box/react-virtualized": "^9.22.3-rc-box.10",
        "@box/readable-time": "2.3.0",
        "@box/types": "^3.2.30",
        "@commitlint/cli": "^19.8.0",
        "@commitlint/config-conventional": "^19.8.0",
        "@commitlint/travis-cli": "^19.8.0",
        "@tanstack/react-virtual": "^3.14.10",
        "@testing-library/dom": "^10.4.1",
        "@testing-library/jest-dom": "6.9.1",
        "@testing-library/react": "^16.3.2",
        "@testing-library/user-event": "^14.5.2",
        "@types/classnames": "^2.2.11",
        "@types/jest": "^29.5.13",
        "@types/lodash": "^4.14.149",
        "@types/react": "18.3.1",
        "@types/react-dom": "18.3.1",
        "@typescript-eslint/eslint-plugin": "^7.3.1",
        "@typescript-eslint/parser": "^7.3.1",
        "autoprefixer": "^10.4.21",
        "axios": "^0.34.0",
        "babel-jest": "^29.7.0",
        "babel-loader": "^9.1.3",
        "babel-plugin-transform-require-ignore": "^0.1.1",
        "box-annotations": "^5.2.1-beta.0",
        "box-ui-elements": "^20.0.0",
        "chai": "^4.2.0",
        "classnames": "^2.2.6",
        "conventional-changelog": "^8.1.3",
        "conventional-changelog-conventionalcommits": "^10.3.0",
        "create-react-class": "^15.6.2",
        "css-loader": "^7.1.4",
        "css-minimizer-webpack-plugin": "^8.0.0",
        "cypress": "^15.20.1",
        "eslint": "^8.57.0",
        "eslint-config-airbnb": "^19.0.4",
        "eslint-config-prettier": "^9.1.0",
        "eslint-plugin-chai-friendly": "^0.4.1",
        "eslint-plugin-cypress": "^2.8.1",
        "eslint-plugin-formatjs": "^4.12.2",
        "eslint-plugin-import": "^2.29.1",
        "eslint-plugin-jsx-a11y": "^6.8.0",
        "eslint-plugin-lodash": "^7.4.0",
        "eslint-plugin-react": "^7.34.1",
        "eslint-plugin-react-hooks": "^4.6.0",
        "file-loader": "^6.2.0",
        "fscreen": "^1.0.2",
        "husky": "^3.1.0",
        "i18n-webpack-plugin": "^1.0.0",
        "jest": "^29.7.0",
        "jest-canvas-mock": "^2.2.0",
        "jest-environment-jsdom": "^29.7.0",
        "jsuri": "^1.3.1",
        "lint-staged": "^9.5.0",
        "lodash": "^4.18.1",
        "mini-css-extract-plugin": "^2.10.2",
        "mock-local-storage": "^1.1.15",
        "npm-run-all": "^4.1.5",
        "postcss": "^8.5.18",
        "postcss-loader": "^8.1.1",
        "prettier": "^3.2.5",
        "raw-loader": "^4.0.2",
        "react": "18.3.1",
        "react-dom": "18.3.1",
        "react-intl": "^6.4.2",
        "react-tether": "^1.0.5",
        "sass": "1.77.6",
        "sass-loader": "^16.0.5",
        "sinon": "^9.0.3",
        "style-loader": "^4.0.0",
        "stylelint": "^16.26.1",
        "stylelint-config-clean-order": "7.0.0",
        "stylelint-config-standard": "^38.0.0",
        "stylelint-config-standard-scss": "^15.0.1",
        "stylelint-order": "^7.0.0",
        "terser": "^5.31.0",
        "terser-webpack-plugin": "^5.3.14",
        "typescript": "^5.0.4",
        "wait-on": "^9.0.5",
        "webpack": "^5.107.1",
        "webpack-bundle-analyzer": "^4.10.2",
        "webpack-cli": "^5.1.4",
        "webpack-dev-server": "^5.2.6"
    },
    "engines": {
        "node": ">=22.13.0",
        "yarn": ">=1.19.x"
    },
    "scripts": {
        "build": "yarn setup && yarn clean && yarn build:i18n && yarn build:dev",
        "build:ci": "yarn setup && yarn webpack --progress --config build/webpack.config.js",
        "build:dev": "BABEL_ENV=dev NODE_ENV=dev yarn webpack --progress --config build/webpack.config.js",
        "build:i18n": "node build/buildI18n.js",
        "build:lib": "yarn build:i18n && yarn build:lib:js && yarn build:lib:i18n && yarn build:lib:verify && yarn build:lib:types",
        "build:lib:i18n": "node build/buildLibI18n.js",
        "build:lib:verify": "node build/verifyLibBundle.js",
        "build:lib:js": "BABEL_ENV=production NODE_ENV=production yarn webpack --config build/webpack.config.lib.js",
        "build:lib:types": "cp build/lib-types/index.d.ts dist/lib/index.d.ts",
        "build:prod": "BABEL_ENV=production NODE_ENV=production node --max_old_space_size=8192 ./node_modules/webpack/bin/webpack.js --progress --config build/webpack.config.js",
        "clean": "rm -rf dist && rm -rf reports/coverage && rm -rf src/i18n/json",
        "cy:open": "yarn cy:wait; yarn cypress open",
        "cy:run": "yarn cy:wait; yarn cypress run --spec test/integration/**/*.test.js",
        "cy:wait": "wait-on http-get://127.0.0.1:8000",
        "lint": "npm-run-all lint:*",
        "lint:css": "NODE_ENV=dev yarn stylelint 'src/lib/**/*.scss' 'src/components/**/*.scss' 'src/hooks/**/*.scss'",
        "lint:js": "eslint --max-warnings=0 src cypress.config.ts",
        "lint:ts": "tsc",
        "release": "yarn setup && yarn clean && yarn build:i18n && yarn lint && yarn test && yarn build:prod",
        "release:major": "./build/release.sh -m",
        "release:minor": "./build/release.sh -n",
        "release:patch": "./build/release.sh -p",
        "setup": "yarn install",
        "start": "yarn setup && yarn build:dev --watch",
        "start:linked": "yarn link box-annotations && IS_LINKED=1 yarn start",
        "start:dev": "yarn build:i18n && LANGUAGE=en-US BABEL_ENV=dev NODE_ENV=dev yarn webpack-dev-server --config build/webpack.config.js",
        "start:dev:linked": "yarn link box-annotations && IS_LINKED=1 yarn start:dev",
        "test": "./build/verify_custom_updates.sh yarn setup && NODE_ENV=test yarn jest",
        "test:ci": "yarn test --ci --maxWorkers=4",
        "test:e2e": "npm-run-all -p -r start:dev cy:run",
        "test:e2e:open": "npm-run-all -p -r start:dev cy:open",
        "test:watch": "yarn test --watch",
        "upgrade:annotations": "./build/upgrade_annotations.sh",
        "upgrade:pdfjs": "./build/upgrade_pdfjs.sh",
        "upgrade:dependency": "./build/upgrade_dependency.sh"
    },
    "browserslist": [
        "last 2 Chrome versions",
        "last 2 Firefox versions",
        "last 2 Safari versions",
        "last 2 Edge versions",
        "last 2 iOS versions"
    ],
    "husky": {
        "hooks": {
            "commit-msg": "commitlint -e",
            "pre-commit": "lint-staged",
            "pre-push": "./build/prepush.sh"
        }
    },
    "resolutions": {
        "**/react-intl/**/@types/react": "18.3.1",
        "@types/node": "^22.18.10",
        "acorn": "8.14.0",
        "js-yaml": "^4.3.0"
    }
}
