@gitlab/ui
Version:
GitLab UI Components
181 lines (180 loc) • 7.14 kB
JSON
{
"name": "@gitlab/ui",
"version": "126.4.0",
"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": [
"src",
"dist",
"translations.js",
"tailwind.defaults.js",
"tailwind_cqs_mqs_plugin.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": "yarn build-tokens",
"copy-fonts": "make copy-fonts",
"build-tokens": "make tokens",
"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": "yarn copy-fonts && yarn 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": "yarn test:unit && yarn 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"
},
"dependencies": {
"@floating-ui/dom": "1.7.4",
"echarts": "^5.6.0",
"gridstack": "^12.4.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.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@cypress/grep": "^4.1.1",
"@gitlab/fonts": "^1.3.1",
"@gitlab/svgs": "*",
"@jest/test-sequencer": "30.2.0",
"@rollup/plugin-commonjs": "^28.0.9",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@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.24",
"@vue/compiler-sfc": "^3.5.24",
"@vue/server-renderer": "^3.5.24",
"@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.23",
"axe-playwright": "^2.2.2",
"babel-loader": "^9.2.1",
"cypress": "15.8.1",
"cypress-real-events": "^1.15.0",
"dompurify": "^3.1.2",
"emoji-regex": "^10.6.0",
"gitlab-api-async-iterator": "^1.3.1",
"glob": "11.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "30.2.0",
"jest-circus": "30.2.0",
"jest-environment-jsdom": "30.2.0",
"jest-image-snapshot": "^6.5.1",
"merge-cobertura": "^1.0.4",
"mockdate": "^3.0.5",
"module-alias": "^2.2.3",
"pikaday": "^1.8.0",
"playwright": "^1.57.0",
"playwright-core": "^1.57.0",
"postcss": "8.5.6",
"postcss-loader": "8.2.0",
"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.97.2",
"sass-loader": "^10.5.2",
"sass-true": "^9",
"start-server-and-test": "^2.1.3",
"storybook": "^7.6.20",
"storybook-dark-mode": "4.0.2",
"style-dictionary": "^5.1.1",
"style-loader": "^4",
"tailwindcss": "3.4.19",
"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"
}
}