{
    "name": "box-ui-elements",
    "version": "26.3.0",
    "description": "Box UI Elements",
    "author": "Box (https://www.box.com/)",
    "license": "SEE LICENSE IN LICENSE",
    "publishConfig": {
        "registry": "https://registry.npmjs.org/"
    },
    "homepage": "https://developer.box.com/docs/box-ui-elements",
    "main": "es/index.js",
    "module": "es/index.js",
    "jsnext:main": "es/index.js",
    "types": "es/types.d.ts",
    "keywords": [
        "box",
        "box platform",
        "box-platform",
        "box content",
        "box-content",
        "box ui elements",
        "box-ui-elements",
        "ui elements",
        "ui-elements",
        "explorer",
        "picker",
        "preview",
        "sharing",
        "sidebar",
        "uploader",
        "box-content-ui-elements",
        "box-content-explorer",
        "box-content-picker",
        "box-content-preview",
        "box-content-openwith",
        "box-content-sharing",
        "box-content-sidebar",
        "box-content-uploader"
    ],
    "repository": {
        "type": "git",
        "url": "git@github.com:box/box-ui-elements.git"
    },
    "bugs": {
        "url": "https://github.com/box/box-ui-elements/issues"
    },
    "engines": {
        "node": ">=18.x || ^20.x || ^22.x",
        "yarn": ">=1.10.0"
    },
    "scripts": {
        "build": "yarn build:dev:dist",
        "build:ci:dist": "LANGUAGE=en-US ENTRY=explorer REACT=true yarn build:prod:dist",
        "build:ci:es": "yarn build:prod:es",
        "build:dev:dist": "NODE_ENV=development BABEL_ENV=development LANGUAGE=en-US webpack --config scripts/webpack.config.js --mode development --progress",
        "build:dev:es": "NODE_ENV=development BABEL_ENV=development yarn build:es --copy-files --source-maps inline --watch --ignore \"**/*.d.ts,**/__tests__/**,**/__mocks__/**\"",
        "build:es": "babel src --extensions '.js,.tsx,.ts' --out-dir es",
        "build:i18n": "node scripts/buildLanguages.js",
        "build:npm": "npm-run-all clean build:i18n build:prod:npm build:prod:es",
        "build:prod:analyze": "BUNDLE_ANALYSIS=true npm-run-all setup build:prod:npm",
        "build:prod:dist": "NODE_ENV=production webpack --config scripts/webpack.config.js --mode production",
        "build:prod:es": "NODE_ENV=production BABEL_ENV=npm yarn build:es --source-maps --ignore \"**/*.d.ts,**/__tests__/**,**/__mocks__/**\"",
        "build:prod:npm": "BABEL_ENV=production OUTPUT=dist LANGUAGE=en-US REACT=true yarn build:prod:dist",
        "build:prod:storybook": "NODE_ENV=production BABEL_ENV=production BROWSERSLIST_ENV=production LANGUAGE=en-US REACT=true storybook build -o storybook",
        "chromatic": "chromatic",
        "clean": "rm -rf dist es i18n/bundles i18n/json i18n/*.js reports storybook",
        "copy:flow": "flow-copy-source --ignore \"**/__tests__/**\" --ignore \"**/__mocks__/**\" --ignore \"**/*.ts\" ./src ./es && copyfiles './src/**/*.js.flow' es --up 1",
        "copy:styles": "copyfiles './src/**/*.scss' es --up 1",
        "cy:open": "yarn cy:wait; yarn cypress open",
        "cy:run": "yarn cy:wait; yarn cypress run --spec \"test/integration/**/*.e2e.cy.js\"",
        "cy:wait": "wait-on http-get://localhost:6060/iframe.html",
        "lint": "npm-run-all lint:*",
        "lint:js": "eslint --max-warnings=0 .",
        "lint:ts": "tsc",
        "lint:css": "stylelint \"src/**/*.scss\"",
        "prebuild:es": "npm-run-all copy:styles ts:defs copy:flow",
        "release": "yarn release:beta",
        "release:beta": "DIST=beta BRANCH=master scripts/release.sh",
        "release:hotfix": "DIST=latest HOTFIX=true scripts/release.sh",
        "release:latest": "DIST=latest BRANCH=master scripts/release.sh",
        "release:next": "DIST=next BRANCH=next scripts/release.sh",
        "release:cdn": "yarn setup; node scripts/buildLocaleAssets.js",
        "setup": "yarn install --frozen-lockfile; npm-run-all clean build:i18n",
        "start": "npm-run-all setup start:storybook",
        "start:npm": "yarn setup; yarn build:dev:es",
        "start:storybook": "NODE_ENV=development BABEL_ENV=development LANGUAGE=en-US storybook dev -p 6060",
        "start:storybook:ci": "yarn start:storybook --ci",
        "test": "NODE_ENV=test BABEL_ENV=test yarn jest -c scripts/jest/jest.config.js",
        "test:e2e": "BROWSERSLIST_ENV=test npm-run-all -p -r start cy:run",
        "test:e2e:open": "BROWSERSLIST_ENV=test npm-run-all -p -r start cy:open",
        "ts:defs": "tsc --declaration --emitDeclarationOnly --declarationDir es --noEmit false"
    },
    "browserslist": {
        "production": [
            "last 2 Chrome versions",
            "last 2 Firefox versions",
            "last 2 Safari versions",
            "last 2 Edge versions",
            "last 2 iOS versions"
        ],
        "development": [
            "last 1 Chrome versions",
            "last 1 Firefox versions",
            "last 1 Safari versions"
        ]
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged -c scripts/lint-staged.config.js",
            "pre-push": "scripts/prepush.sh",
            "commit-msg": "commitlint -e"
        }
    },
    "devDependencies": {
        "@babel/cli": "^7.24.7",
        "@babel/core": "^7.24.7",
        "@babel/eslint-parser": "^7.24.7",
        "@babel/helper-create-class-features-plugin": "^7.24.7",
        "@babel/plugin-syntax-dynamic-import": "^7.8.3",
        "@babel/plugin-transform-class-properties": "^7.24.7",
        "@babel/plugin-transform-flow-strip-types": "^7.24.7",
        "@babel/plugin-transform-modules-commonjs": "^7.24.7",
        "@babel/plugin-transform-object-assign": "^7.24.7",
        "@babel/plugin-transform-object-rest-spread": "^7.24.7",
        "@babel/preset-env": "^7.24.7",
        "@babel/preset-flow": "^7.24.7",
        "@babel/preset-react": "^7.24.7",
        "@babel/preset-typescript": "^7.24.7",
        "@babel/template": "^7.24.7",
        "@babel/types": "^7.24.7",
        "@box/blueprint-web": "^12.132.0",
        "@box/blueprint-web-assets": "^4.99.5",
        "@box/box-ai-agent-selector": "^0.53.0",
        "@box/box-ai-content-answers": "^0.139.0",
        "@box/box-item-type-selector": "^0.73.1",
        "@box/cldr-data": "^34.2.0",
        "@box/combobox-with-api": "^1.18.0",
        "@box/copy-input": "^1.27.4",
        "@box/frontend": "^11.0.1",
        "@box/item-icon": "^0.27.1",
        "@box/languages": "^1.0.0",
        "@box/metadata-editor": "^1.18.0",
        "@box/metadata-filter": "^1.41.3",
        "@box/metadata-view": "^1.10.0",
        "@box/react-virtualized": "^9.22.3-rc-box.10",
        "@box/types": "^0.2.1",
        "@box/unified-share-modal": "^1.45.0",
        "@box/user-selector": "^1.60.4",
        "@cfaester/enzyme-adapter-react-18": "^0.8.0",
        "@chromatic-com/storybook": "^4.0.1",
        "@commitlint/cli": "^19.8.0",
        "@commitlint/config-conventional": "^19.8.0",
        "@eslint/eslintrc": "^3.1.0",
        "@eslint/js": "^9.6.0",
        "@formatjs/intl-pluralrules": "^1.5.2",
        "@formatjs/intl-relativetimeformat": "^4.5.9",
        "@formatjs/intl-unified-numberformat": "^3.2.0",
        "@hapi/address": "^2.1.4",
        "@storybook/addon-docs": "^9.1.17",
        "@storybook/addon-styling-webpack": "^2.0.0",
        "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
        "@storybook/react-webpack5": "^9.1.17",
        "@tanstack/react-virtual": "^3.13.12",
        "@testing-library/dom": "^10.4.0",
        "@testing-library/jest-dom": "^6.4.6",
        "@testing-library/react": "^16.0.0",
        "@testing-library/user-event": "14.5.2",
        "@types/classnames": "^2.2.9",
        "@types/color": "^3.0.2",
        "@types/enzyme": "^3.10.18",
        "@types/history": "^4.7.5",
        "@types/jest": "^29.5.12",
        "@types/lodash": "^4.14.149",
        "@types/node": "^22.18.10",
        "@types/pikaday": "^1.7.4",
        "@types/puppeteer": "^2.0.1",
        "@types/react": "^18.3.0",
        "@types/react-beautiful-dnd": "^13.1.8",
        "@types/react-dom": "^18.3.0",
        "@types/react-measure": "^2.0.6",
        "@types/react-router-dom": "^5.1.3",
        "@types/sinon": "^7.5.1",
        "@types/webpack": "^4.41.3",
        "@typescript-eslint/eslint-plugin": "^7.3.1",
        "@typescript-eslint/parser": "^7.3.1",
        "autoprefixer": "^10.4.19",
        "axios": "^0.30.1",
        "babel-core": "^7.0.0-bridge.0",
        "babel-jest": "^29.7.0",
        "babel-loader": "^9.1.3",
        "babel-plugin-dynamic-import-node": "^2.3.0",
        "babel-plugin-flow-react-proptypes": "^25.1.0",
        "babel-plugin-react-intl": "^5.1.18",
        "babel-plugin-react-remove-properties": "^0.3.0",
        "babel-plugin-rewire": "^1.0.0",
        "babel-plugin-styled-components": "^1.10.7",
        "babel-preset-react-app": "^9.1.0",
        "chromatic": "^11.26.1",
        "circular-dependency-plugin": "^5.2.2",
        "classnames": "^2.2.6",
        "color": "^3.1.2",
        "copyfiles": "^2.2.0",
        "css-loader": "^7.1.2",
        "css-minimizer-webpack-plugin": "^7.0.0",
        "cssnano": "^4.1.10",
        "cypress": "^13.17.0",
        "deepmerge": "^4.2.2",
        "draft-js": "^0.11.7",
        "enzyme": "^3.11.0",
        "enzyme-to-json": "^3.4.3",
        "eslint": "^8.57.0",
        "eslint-config-airbnb": "^19.0.4",
        "eslint-config-prettier": "^9.1.0",
        "eslint-plugin-cypress": "^3.3.0",
        "eslint-plugin-formatjs": "^4.13.3",
        "eslint-plugin-ft-flow": "^3.0.7",
        "eslint-plugin-import": "^2.29.1",
        "eslint-plugin-jsx-a11y": "^6.9.0",
        "eslint-plugin-lodash": "^7.4.0",
        "eslint-plugin-react": "^7.34.3",
        "eslint-plugin-react-hooks": "^4.6.2",
        "filesize": "^4.1.2",
        "flow-bin": "^0.95.1",
        "flow-copy-source": "^2.0.9",
        "flow-typed": "^4.1.0",
        "form-serialize": "^0.7.2",
        "formik": "^2.0.3",
        "highlight.js": "^11.10.0",
        "husky": "^4.0.10",
        "ilib-tree-node": "^1.2.0",
        "immutable": "^3.7.4",
        "intl": "^1.2.5",
        "intl-messageformat": "^7.8.4",
        "intl-messageformat-parser": "^3.6.4",
        "jest": "^29.7.0",
        "jest-environment-jsdom": "^29.7.0",
        "js-sha1": "0.6.0",
        "jsuri": "^1.3.1",
        "lint-staged": "^9.5.0",
        "lodash": "^4.17.15",
        "message-accumulator": "^2.1.1",
        "mini-css-extract-plugin": "^2.9.0",
        "mousetrap": "^1.6.3",
        "msw": "^2.10.2",
        "msw-storybook-addon": "^2.0.5",
        "node-polyfill-webpack-plugin": "^4.1.0",
        "npm-run-all": "^4.1.5",
        "pikaday": "^1.8.0",
        "postcss": "^8.5.3",
        "postcss-loader": "^8.1.1",
        "prettier": "^3.2.5",
        "prettier-eslint-cli": "^5.0.0",
        "prop-types": "^15.7.2",
        "properties-parser": "^0.3.1",
        "query-string": "5.1.1",
        "react": "^18.3.1",
        "react-animate-height": "^3.2.3",
        "react-aria-components": "^1.10.1",
        "react-beautiful-dnd": "^13.1.1",
        "react-docgen-typescript": "^1.16.1",
        "react-docgen-typescript-loader": "^3.6.0",
        "react-dom": "^18.3.1",
        "react-draggable": "^4.5.0",
        "react-immutable-proptypes": "^2.1.0",
        "react-intl": "^6.6.8",
        "react-measure": "^2.3.0",
        "react-modal": "^3.8.1",
        "react-popper": "^1.3.4",
        "react-process-string": "^1.2.0",
        "react-responsive": "^10.0.0",
        "react-router-dom": "^5.3.4",
        "react-scrollbars-custom": "^4.0.21",
        "react-tether": "^3.0.3",
        "react-textarea-autosize": "^8.5.3",
        "regenerator-runtime": "^0.14.1",
        "remarkable": "^2.0.1",
        "sanitize-html": "^2.14.0",
        "sass": "1.77.6",
        "sass-loader": "^16.0.6",
        "scroll-into-view-if-needed": "^2.2.20",
        "semantic-release": "^24.2.3",
        "sinon": "^2.3.7",
        "source-map-loader": "^0.2.4",
        "storybook": "^9.1.17",
        "storybook-react-intl": "^4.0.7",
        "string-replace-loader": "^3.1.0",
        "styled-components": "5.0.0",
        "stylelint": "^16.18.0",
        "stylelint-config-standard": "^38.0.0",
        "stylelint-config-standard-scss": "^14.0.0",
        "stylelint-order": "^6.0.4",
        "tabbable": "^1.1.3",
        "ts-loader": "^6.2.1",
        "typescript": "5.2.2",
        "uuid": "^8.3.2",
        "wait-on": "^8.0.4",
        "webpack": "^5.92.0",
        "webpack-bundle-analyzer": "^4.10.2",
        "webpack-cli": "^5.1.4",
        "webpack-dev-server": "^5.2.1"
    },
    "peerDependencies": {
        "@box/blueprint-web": "^12.132.0",
        "@box/blueprint-web-assets": "^4.99.5",
        "@box/box-ai-agent-selector": "^0.53.0",
        "@box/box-ai-content-answers": "^0.139.0",
        "@box/box-item-type-selector": "^0.73.1",
        "@box/cldr-data": ">=34.2.0",
        "@box/combobox-with-api": "^1.18.0",
        "@box/copy-input": "^1.27.4",
        "@box/item-icon": "^0.27.1",
        "@box/metadata-editor": "^1.18.0",
        "@box/metadata-filter": "^1.41.3",
        "@box/metadata-view": "^1.10.0",
        "@box/react-virtualized": "^9.22.3-rc-box.10",
        "@box/types": "^0.2.1",
        "@box/unified-share-modal": "^1.45.0",
        "@box/user-selector": "^1.60.4",
        "@hapi/address": "^2.1.4",
        "@tanstack/react-virtual": "^3.13.12",
        "axios": "^0.30.0",
        "classnames": "^2.2.5",
        "color": "^3.1.2",
        "draft-js": "^0.11.7",
        "filesize": "^4.1.2",
        "form-serialize": "^0.7.2",
        "formik": "^2.0.0",
        "highlight.js": "^11.10.0",
        "ilib-tree-node": "^1.2.0",
        "immutable": "^3.7.4",
        "intl-messageformat": "^7.8.4",
        "js-sha1": "0.6.0",
        "jsuri": "^1.3.1",
        "lodash": "^4.17.5",
        "message-accumulator": "^2.1.1",
        "mousetrap": "^1.6.3",
        "pikaday": "^1.8.0",
        "query-string": "5.1.1",
        "react": "^18.0.0 || ^19.0.0",
        "react-animate-height": "^3.2.3",
        "react-aria-components": "^1.10.1",
        "react-beautiful-dnd": "^13.1.1",
        "react-dom": "^18.0.0 || ^19.0.0",
        "react-draggable": "^4.5.0",
        "react-immutable-proptypes": "^2.1.0",
        "react-intl": ">=2.9.0",
        "react-measure": "^2.3.0",
        "react-modal": "^3.8.1",
        "react-popper": "^1.3.4",
        "react-process-string": "^1.2.0",
        "react-responsive": "^10.0.0",
        "react-router-dom": "5.3.4",
        "react-scrollbars-custom": "^4.0.21",
        "react-tether": "^3.0.3",
        "react-textarea-autosize": "^8.5.3",
        "regenerator-runtime": "^0.13.2",
        "remarkable": "^2.0.1",
        "sanitize-html": "^2.14.0",
        "sass": "1.77.6",
        "scroll-into-view-if-needed": "^2.2.20",
        "tabbable": "^1.1.2",
        "uuid": "^8.3.2"
    },
    "msw": {
        "workerDirectory": [
            ".storybook/public"
        ]
    },
    "resolutions": {
        "tar": "^7.5.7",
        "qs": "6.14.1"
    }
}
