@elastic/eui
Version:
Elastic UI Component Library
278 lines • 10.1 kB
JSON
{
"name": "@elastic/eui",
"description": "Elastic UI Component Library",
"version": "116.5.0",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "lib",
"module": "es",
"types": "eui.d.ts",
"docker_image": "20.15.1",
"engines": {
"node": "16.x || 18.x || >=20.x"
},
"sideEffects": [
"*.css",
"*.scss"
],
"scripts": {
"start": "yarn storybook",
"build:workspaces": "yarn workspaces foreach -Rti --from @elastic/eui-theme-common run build && yarn workspaces foreach -Rti --from @elastic/eui --exclude @elastic/eui --exclude @elastic/eui-theme-common run build",
"build:clean": "rimraf dist lib es optimize test-env eui.d.ts",
"build:i18ntokens": "node ./scripts/build_i18ntokens.mjs",
"build": "yarn build:clean && yarn build:i18ntokens && node ./scripts/compile-eui.js",
"build-pack": "yarn build && yarn pack",
"watch": "node ../../scripts/watch-eui.js --package @elastic/eui",
"compile-icons": "node ./scripts/compile-icons.js && prettier --write --loglevel=warn \"./src/components/icon/assets/**/*.tsx\" \"./src/components/notification_icon/assets/**/*.tsx\"",
"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": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache \"src/**/*.{ts,tsx,js}\"",
"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 build:workspaces && 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-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": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook",
"pre-push": "yarn test-staged",
"prerelease": "node ./scripts/prerelease.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/elastic/eui.git",
"directory": "packages/eui"
},
"dependencies": {
"@elastic/eui-theme-common": "10.0.0",
"@elastic/prismjs-esql": "^1.1.2",
"@hello-pangea/dnd": "^16.6.0",
"@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",
"use-sync-external-store": "^1.6.0",
"uuid": "^14.0.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",
"@elastic/eslint-plugin-eui": "2.14.0",
"@elastic/eui-theme-borealis": "8.0.0",
"@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",
"@playwright/test": "^1.44.0",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-interactions": "^8.4.5",
"@storybook/addon-links": "^8.4.5",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/blocks": "^8.4.5",
"@storybook/docs-tools": "^8.4.5",
"@storybook/manager-api": "^8.4.5",
"@storybook/preview-api": "^8.4.5",
"@storybook/react": "^8.4.5",
"@storybook/react-webpack5": "^8.4.5",
"@storybook/test": "^8.4.5",
"@storybook/test-runner": "^0.19.1",
"@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-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": "^29.5.12",
"@types/jest-image-snapshot": "^5.1.0",
"@types/prettier": "2.7.3",
"@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/vfile-message": "^2.0.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": "^29.7.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",
"buildkite-test-collector": "^1.7.2",
"cache-loader": "^4.1.0",
"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-to-json": "^3.5.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^28.5.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.9.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": "^11.0.3",
"html-format": "^1.0.1",
"html-webpack-plugin": "^5.5.0",
"inquirer": "^9.1.4",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-image-snapshot": "^6.4.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",
"prettier": "^2.8.8",
"process": "^0.11.10",
"raw-loader": "^4.0.1",
"react": "^18.2.0",
"react-17": "npm:react@^17.0.2",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^18.2.0",
"react-dom-17": "npm:react-dom@^17.0.2",
"react-router-dom": "^5.3.4",
"resolve": "^1.17.0",
"rimraf": "^3.0.2",
"sass": "^1.56.1",
"sass-loader": "^13.2.0",
"shelljs": "^0.8.4",
"storybook": "^8.4.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": "^5.8.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",
"@elastic/eui-theme-borealis": "8.0.0",
"@emotion/css": "11.x",
"@emotion/react": "11.x",
"@types/react": "^17.0 || ^18.0",
"@types/react-dom": "^17.0 || ^18.0",
"moment": "^2.13.0",
"react": "^17.0 || ^18.0",
"react-dom": "^17.0 || ^18.0",
"typescript": "~4.5.3 || ^5"
},
"files": [
"dist",
"es",
"lib",
"licenses",
"optimize",
"src/**/*.scss",
"test-env",
"eui.d.ts",
"i18ntokens.json",
"NOTICE.txt"
],
"installConfig": {
"hoistingLimits": "workspaces"
}
}