{ "name": "@elastic/eui", "description": "Elastic UI Component Library", "version": "94.1.0", "license": "SEE LICENSE IN LICENSE.txt", "main": "lib", "module": "es", "types": "eui.d.ts", "docker_image": "20.12.1", "engines": { "node": "16.x || 18.x || >=20.x" }, "sideEffects": [ "*.css", "*.scss" ], "scripts": { "start": "cross-env BABEL_MODULES=false webpack serve --config=src-docs/webpack.config.js", "build-docs": "cross-env BABEL_MODULES=false cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 webpack --config=src-docs/webpack.config.js", "build": "yarn extract-i18n-strings && node ./scripts/compile-clean.js && node ./scripts/compile-eui.js && yarn compile-scss", "build-pack": "yarn build && npm pack", "compile-icons": "node ./scripts/compile-icons.js && prettier --write --loglevel=warn \"./src/components/icon/assets/**/*.tsx\"", "compile-scss": "node ./scripts/compile-scss.js", "extract-i18n-strings": "node ./scripts/babel/fetch-i18n-strings", "lint": "yarn tsc --noEmit && yarn lint-es && yarn lint-css-in-js && yarn lint-sass", "lint-fix": "yarn lint-es --fix && yarn lint-css-in-js --fix", "lint-es": "eslint --cache \"{src,src-docs}/**/*.{ts,tsx,js}\" --max-warnings 0", "lint-css-in-js": "yarn stylelint \"**/*.styles.ts\" \"./src/themes/**/*.ts\" \"./src/global_styling/**/*.ts\" --quiet-deprecation-warnings", "lint-sass": "yarn stylelint \"**/*.scss\" --quiet-deprecation-warnings", "test": "yarn lint && yarn test-unit", "test-ci": "yarn test && yarn test-cypress", "test-unit": "node ./scripts/test-unit", "test-staged": "yarn lint && node scripts/test-staged.js", "test-cypress": "node ./scripts/test-cypress", "test-cypress-dev": "yarn test-cypress --dev", "test-cypress-a11y": "yarn test-cypress --a11y", "test-visual-regression": "node ./scripts/test-visual-regression.js", "combine-test-coverage": "sh ./scripts/combine-coverage.sh", "yo-component": "yo ./generator-eui/app/component.js", "yo-doc": "yo ./generator-eui/app/documentation.js", "yo-changelog": "yo ./generator-eui/changelog/index.js", "release": "node ./scripts/release.js", "release-backport": "node ./scripts/release.js --type=backport", "release-rc": "node ./scripts/release.js --type=prerelease", "storybook": "yarn compile-scss && storybook dev -p 6006", "build-storybook": "yarn compile-scss && storybook build" }, "repository": { "type": "git", "url": "https://github.com/elastic/eui.git" }, "resolutions": { "**/prismjs": "1.27.0", "**/react": "^18", "**/@types/react": "^18", "react-focus-lock": "^2.9.5" }, "pre-push": [ "test-staged" ], "dependencies": { "@hello-pangea/dnd": "^16.6.0", "@storybook/test": "^8.0.5", "@types/lodash": "^4.14.202", "@types/numeral": "^2.0.5", "@types/react-window": "^1.8.8", "@types/refractor": "^3.4.0", "chroma-js": "^2.4.2", "classnames": "^2.5.1", "lodash": "^4.17.21", "mdast-util-to-hast": "^10.2.0", "numeral": "^2.0.6", "prop-types": "^15.8.1", "react-dropzone": "^11.7.1", "react-element-to-jsx-string": "^15.0.0", "react-focus-on": "^3.9.1", "react-is": "^17.0.2", "react-remove-scroll-bar": "^2.3.4", "react-virtualized-auto-sizer": "^1.0.24", "react-window": "^1.8.10", "refractor": "^3.6.0", "rehype-raw": "^5.1.0", "rehype-react": "^6.2.1", "rehype-stringify": "^8.0.0", "remark-breaks": "^2.0.2", "remark-emoji": "^2.1.0", "remark-parse-no-trim": "^8.0.4", "remark-rehype": "^8.1.0", "tabbable": "^5.3.3", "text-diff": "^1.0.1", "unified": "^9.2.2", "unist-util-visit": "^2.0.3", "url-parse": "^1.5.10", "uuid": "^8.3.0", "vfile": "^4.2.1" }, "devDependencies": { "@babel/cli": "^7.21.5", "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-transform-async-to-generator": "^7.20.7", "@babel/plugin-transform-runtime": "^7.21.4", "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.5", "@babel/template": "^7.21.9", "@cfaester/enzyme-adapter-react-18": "^0.7.0", "@cypress/code-coverage": "^3.10.0", "@cypress/react": "^7.0.3", "@cypress/react18": "^2.0.0", "@cypress/webpack-dev-server": "^1.7.0", "@elastic/charts": "^64.1.0", "@elastic/datemath": "^5.0.3", "@emotion/babel-preset-css-prop": "^11.11.0", "@emotion/cache": "^11.11.0", "@emotion/css": "^11.11.0", "@emotion/eslint-plugin": "^11.11.0", "@emotion/jest": "^11.11.0", "@emotion/react": "^11.11.0", "@faker-js/faker": "^8.0.2", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", "@storybook/addon-essentials": "^8.0.5", "@storybook/addon-interactions": "^8.0.5", "@storybook/addon-links": "^8.0.5", "@storybook/addon-webpack5-compiler-babel": "^3.0.3", "@storybook/blocks": "^8.0.5", "@storybook/react": "^8.0.5", "@storybook/react-webpack5": "^8.0.5", "@svgr/core": "8.0.0", "@svgr/plugin-jsx": "^8.0.1", "@svgr/plugin-svgo": "^8.0.1", "@testing-library/jest-dom": "^5.16.3", "@testing-library/react": "^14.0.0", "@testing-library/react-16-17": "npm:@testing-library/react@^12.1.5", "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^13.5.0", "@types/cheerio": "^0.22.31", "@types/chroma-js": "^2.4.0", "@types/classnames": "^2.3.1", "@types/enzyme": "^3.10.5", "@types/jest": "^24.0.6", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@types/react-is": "^17.0.3", "@types/react-router-dom": "^5.3.3", "@types/stylis": "^4.2.1", "@types/testing-library__jest-dom": "^5.14.3", "@types/url-parse": "^1.4.8", "@types/uuid": "^8.3.0", "@typescript-eslint/eslint-plugin": "^5.59.7", "@typescript-eslint/parser": "^5.59.7", "@wojtekmaj/enzyme-adapter-react-17": "^0.6.6", "assert": "^2.0.0", "autoprefixer": "^9.8.6", "axe-core": "^4.9.0", "babel-jest": "^24.1.0", "babel-loader": "^9.1.2", "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-inline-react-svg": "^2.0.2", "babel-plugin-istanbul": "^6.1.1", "babel-plugin-pegjs-inline-precompile": "^0.1.1", "buffer": "^6.0.3", "cache-loader": "^4.1.0", "chalk": "^4.1.0", "chokidar": "^3.4.2", "circular-dependency-plugin": "^5.2.2", "codesandbox": "^2.1.16", "core-js": "^3.6.5", "cross-env": "^7.0.2", "css-loader": "^6.7.1", "cssnano": "^4.1.10", "cypress": "^13.3.1", "cypress-axe": "^1.0.0", "cypress-plugin-tab": "^1.0.5", "cypress-real-events": "^1.7.0", "dedent": "^0.7.0", "dts-generator": "^3.0.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.7", "enzyme-to-json": "^3.5.0", "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-webpack": "^0.13.2", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^24.1.0", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-local": "^1.0.0", "eslint-plugin-mocha": "^10.1.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-storybook": "^0.8.0", "expose-gc": "^1.0.0", "file-loader": "^6.1.0", "findup": "^0.1.5", "fork-ts-checker-webpack-plugin": "^5.1.0", "get-port": "^5.1.1", "glob": "^7.1.6", "html-format": "^1.0.1", "html-webpack-plugin": "^5.5.0", "inquirer": "^9.1.4", "jest": "^24.1.0", "jest-cli": "^24.1.0", "loki": "^0.35.0", "moment": "^2.27.0", "moment-timezone": "^0.5.31", "path": "^0.12.7", "pegjs": "^0.10.0", "postcss": "^8.4.19", "postcss-cli": "^7.1.2", "postcss-inline-svg": "^4.1.0", "postcss-loader": "^7.0.1", "postcss-styled-syntax": "^0.4.0", "pre-push": "^0.1.4", "prettier": "^2.8.8", "process": "^0.11.10", "raw-loader": "^4.0.1", "react": "^18.2.0", "react-16": "npm:react@^16.14.0", "react-17": "npm:react@^17.0.2", "react-docgen-typescript": "^2.2.2", "react-dom": "^18.2.0", "react-dom-16": "npm:react-dom@^16.14.0", "react-dom-17": "npm:react-dom@^17.0.2", "react-helmet": "^6.1.0", "react-redux": "^7.2.1", "react-refresh": "^0.11.0", "react-router-dom": "^5.3.4", "react-view": "^2.3.2", "redux": "^4.0.5", "redux-thunk": "^2.3.0", "resolve": "^1.17.0", "rimraf": "^3.0.2", "sass": "^1.56.1", "sass-loader": "^13.2.0", "shelljs": "^0.8.4", "start-server-and-test": "^1.11.3", "storybook": "^8.0.5", "style-loader": "^3.3.1", "stylelint": "^15.7.0", "stylelint-config-prettier-scss": "^1.0.0", "stylelint-config-standard": "^33.0.0", "stylelint-config-standard-scss": "^9.0.0", "terser-webpack-plugin": "^5.3.5", "typescript": "4.5.3", "uglifyjs-webpack-plugin": "^2.2.0", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.10.0", "yargs": "^17.2.1", "yeoman-generator": "^4.12.0", "yo": "^4.3.1" }, "peerDependencies": { "@elastic/datemath": "^5.0.2", "@emotion/css": "11.x", "@emotion/react": "11.x", "@types/react": "^16.9 || ^17.0 || ^18.0", "@types/react-dom": "^16.9 || ^17.0 || ^18.0", "moment": "^2.13.0", "react": "^16.12 || ^17.0 || ^18.0", "react-dom": "^16.12 || ^17.0 || ^18.0", "typescript": "~4.5.3" }, "files": [ "dist", "es", "lib", "licenses", "optimize", "src/**/*.scss", "test-env", "eui.d.ts", "i18ntokens.json", "NOTICE.txt" ] }