@gitlab/ui
Version:
GitLab UI Components
190 lines (189 loc) • 7.83 kB
JSON
{
"name": "@gitlab/ui",
"version": "115.6.1",
"description": "GitLab UI Components",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.js",
"jsnext:main": "dist/index.js",
"source": "src/index.js",
"vueSource": "src/index.js",
"sideEffects": [
"*.css",
"*.scss"
],
"repository": {
"type": "git",
"url": "git+https://gitlab.com/gitlab-org/gitlab-services/design.gitlab.com.git",
"directory": "packages/gitlab-ui"
},
"author": "GitLab",
"private": false,
"files": [
"bin/migrate_custom_utils_to_tw.bundled.mjs",
"src",
"dist",
"translations.js",
"tailwind.defaults.js",
"!src/vendor",
"src/vendor/bootstrap-vue/src/**/*.{js,scss}",
"src/vendor/bootstrap/scss/**/*.scss",
"!*.stories.js",
"!*.snap",
"!*.spec.{js,scss}"
],
"scripts": {
"build": "NODE_ENV=production rollup -c",
"prebuild": "run-s build-tokens build-migration-script",
"copy-fonts": "make copy-fonts",
"build-tokens": "make tokens",
"build-migration-script": "esbuild --bundle --platform=node --target=esnext --outfile=bin/migrate_custom_utils_to_tw.bundled.mjs --format=esm --banner:js=\"import { createRequire as __gl__createRequire } from 'node:module'; const require = __gl__createRequire(import.meta.url);\" bin/migrate_custom_utils_to_tw.mjs",
"clean": "rm -r dist storybook",
"cy:edge": "cypress run --browser edge --env grepTags=-@storybook",
"cy:run": "cypress run --browser firefox --env grepTags=-@storybook",
"start": "yarn storybook",
"storybook": "yarn storybook:prepare && storybook dev --ci --host ${STORYBOOK_HOST:-localhost} --port ${STORYBOOK_PORT:-9001} -c .storybook",
"storybook-vue3": "yarn storybook:prepare && VUE_VERSION=3 storybook dev --ci --host ${STORYBOOK_HOST:-localhost} --port ${STORYBOOK_PORT:-9001} -c .storybook",
"storybook:prepare": "run-s copy-fonts build-tokens",
"storybook:build:prod": "yarn storybook:prepare && storybook build -c .storybook -o storybook",
"storybook:build:test": "yarn storybook:prepare && IS_VISUAL_TEST=true NODE_ENV=test storybook build --test -c .storybook -o storybook",
"storybook:run": "npx http-server -bgs -p ${STORYBOOK_PORT:-9001} ./storybook",
"pretest:unit": "yarn build-tokens",
"test": "run-s test:unit test:visual",
"test:integration": "yarn run test:integration:server 'yarn cy:run && yarn cy:edge'",
"test:integration:server": "NODE_ENV=test start-test storybook:run http-get://${STORYBOOK_HOST:-localhost}:${STORYBOOK_PORT:-9001}/iframe.html",
"test:unit": "NODE_ENV=test jest",
"test:unit:watch": "yarn test:unit --watch",
"test:unit:coverage": "yarn test:unit --coverage",
"test:unit:debug": "NODE_ENV=test node --inspect node_modules/.bin/jest --testPathIgnorePatterns storyshot.spec.js --watch --runInBand",
"test:unit-vue3": "VUE_VERSION=3 NODE_ENV=test jest",
"test:unit-vue3:watch": "VUE_VERSION=3 yarn test:unit --watch",
"test:unit-vue3:coverage": "VUE_VERSION=3 yarn test:unit --coverage",
"test:unit-vue3:debug": "VUE_VERSION=3 NODE_ENV=test node --inspect node_modules/.bin/jest --testPathIgnorePatterns storyshot.spec.js --watch --runInBand",
"test:visual": "./bin/run-visual-tests.sh 'test-storybook --browsers firefox --verbose --url http://${STORYBOOK_HOST:-localhost}:${STORYBOOK_PORT:-9001}'",
"test:visual:update": "./bin/run-visual-tests.sh 'test-storybook -u --browsers firefox --verbose --url http://${STORYBOOK_HOST:-localhost}:${STORYBOOK_PORT:-9001}'",
"test:visual:internal": "NODE_ENV=test IS_VISUAL_TEST=true start-test storybook:run http-get://${STORYBOOK_HOST:-localhost}:${STORYBOOK_PORT:-9001}/iframe.html",
"translations:collect": "make translations.js",
"tailwind-config-viewer:start": "tailwind-config-viewer -o",
"tailwind-config-viewer:export": "tailwind-config-viewer export ./tailwind-config-viewer-static"
},
"dependencies": {
"@floating-ui/dom": "1.7.2",
"echarts": "^5.6.0",
"gridstack": "^12.2.2",
"iframe-resizer": "^4.4.5",
"lodash": "^4.17.21",
"popper.js": "^1.16.1",
"portal-vue": "2.1.7",
"vue-functional-data-merge": "^3.1.0",
"vue-runtime-helpers": "^1.1.2"
},
"peerDependencies": {
"@gitlab/svgs": "^1.116.0 || ^2.0.0 || ^3.0.0",
"dompurify": ">=2.5.2 <3.0.0 || >=3.1.2",
"emoji-regex": ">=10.0.0",
"pikaday": "^1.8.0",
"tailwindcss": "^3",
"vue": "^2.7.16"
},
"resolutions": {
"chokidar": "^4.0.3",
"sane": "^5.0.1",
"jackspeak": "2.1.1",
"postcss": "8.5.6",
"json5": "2.2.3",
"rollup-plugin-vue/@vue/component-compiler/postcss-modules-sync/generic-names/loader-utils": "3.3.1"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@cypress/grep": "^4.1.0",
"@gitlab/fonts": "^1.3.0",
"@gitlab/svgs": "3.136.0",
"@jest/test-sequencer": "30.0.4",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@storybook/addon-a11y": "^7.6.20",
"@storybook/addon-docs": "^7.6.20",
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-viewport": "^7.6.20",
"@storybook/builder-webpack5": "^7.6.20",
"@storybook/test": "^7.6.20",
"@storybook/test-runner": "0.19.1",
"@storybook/theming": "^7.6.20",
"@storybook/vue": "^7.6.17",
"@storybook/vue-webpack5": "^7.6.17",
"@storybook/vue3": "^7.6.20",
"@storybook/vue3-webpack5": "^7.6.20",
"@types/jest-image-snapshot": "^6.4.0",
"@vue/compat": "^3.5.17",
"@vue/compiler-sfc": "^3.5.17",
"@vue/server-renderer": "^3.5.17",
"@vue/test-utils": "1.3.6",
"@vue/test-utils-vue3": "npm:@vue/test-utils@^2.4.6",
"@vue/vue2-jest": "29.2.6",
"@vue/vue3-jest": "^29.2.6",
"@yarnpkg/lockfile": "^1.1.0",
"acorn": "^8.15.0",
"acorn-walk": "^8.3.4",
"autoprefixer": "10.4.21",
"axe-playwright": "^2.1.0",
"babel-loader": "^9.2.1",
"cypress": "14.5.1",
"cypress-real-events": "^1.14.0",
"dompurify": "^3.1.2",
"emoji-regex": "^10.4.0",
"esbuild": "^0.25.6",
"fuse.js": "^7.1.0",
"gitlab-api-async-iterator": "^1.3.1",
"glob": "11.0.3",
"globby": "^14.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "30.0.4",
"jest-circus": "30.0.4",
"jest-environment-jsdom": "30.0.4",
"jest-image-snapshot": "^6.5.1",
"merge-cobertura": "^1.0.4",
"mockdate": "^3.0.5",
"module-alias": "^2.2.3",
"npm-run-all": "^4.1.5",
"pikaday": "^1.8.0",
"playwright": "^1.54.1",
"playwright-core": "^1.54.1",
"postcss": "8.5.6",
"postcss-loader": "8.1.1",
"postcss-scss": "4.0.9",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "^3.29.5",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-svg": "^2.0.0",
"rollup-plugin-vue": "^5.1.9",
"sass": "^1.89.2",
"sass-loader": "^10.5.2",
"sass-true": "^9",
"start-server-and-test": "^2.0.12",
"storybook": "^7.6.20",
"storybook-dark-mode": "4.0.2",
"style-dictionary": "^5.0.1",
"style-loader": "^4",
"tailwind-config-viewer": "2.0.4",
"tailwindcss": "3.4.17",
"vue": "2.7.16",
"vue-docgen-loader": "1.5.1",
"vue-loader": "^15.11.1",
"vue-loader-vue3": "npm:vue-loader@17.4.2",
"vue-router": "^3.6.5",
"vue-template-compiler": "2.7.16",
"vue-test-utils-compat": "^0.0.15",
"webpack": "^5.100.1",
"yargs": "^18.0.0"
}
}