1 | {
|
2 | "name": "@gitlab/ui",
|
3 | "version": "32.41.0",
|
4 | "description": "GitLab UI Components",
|
5 | "license": "MIT",
|
6 | "main": "dist/index.js",
|
7 | "module": "dist/index.js",
|
8 | "jsnext:main": "dist/index.js",
|
9 | "sideEffects": [
|
10 | "*.css",
|
11 | "*.scss"
|
12 | ],
|
13 | "repository": "git@gitlab.com:gitlab-org/gitlab-ui.git",
|
14 | "author": "GitLab",
|
15 | "private": false,
|
16 | "files": [
|
17 | "src",
|
18 | "dist",
|
19 | "scss_to_js",
|
20 | "documentation",
|
21 | "index.js",
|
22 | "charts.js",
|
23 | "utils.js",
|
24 | "config.js"
|
25 | ],
|
26 | "scripts": {
|
27 | "build": "NODE_ENV=production rollup -c",
|
28 | "prebuild": "run-s build-scss-variables generate-utilities",
|
29 | "generate-utilities": "make src/scss/utilities.scss",
|
30 | "build-scss-variables": "make scss_to_js/scss_variables.js",
|
31 | "clean": "rm -r dist storybook scss_to_js/scss_variables.* src/scss/utilities.scss",
|
32 | "cy:run": "cypress run --browser firefox",
|
33 | "start": "yarn storybook",
|
34 | "storybook": "yarn storybook-prep && start-storybook --ci -p 9001 -c .storybook -s ./static",
|
35 | "storybook-prep": "run-s generate-utilities build-scss-variables",
|
36 | "storybook-static": "yarn storybook-prep && build-storybook -c .storybook -o storybook -s ./static",
|
37 | "pretest:unit": "yarn build-scss-variables",
|
38 | "test": "run-s test:unit test:visual",
|
39 | "test:integration": "NODE_ENV=test start-server-and-test start http://localhost:9001 cy:run",
|
40 | "test:unit": "NODE_ENV=test jest --testPathIgnorePatterns storyshots.spec.js",
|
41 | "test:unit:watch": "yarn test:unit --watch --notify",
|
42 | "test:unit:debug": "NODE_ENV=test node --inspect node_modules/.bin/jest --testPathIgnorePatterns storyshot.spec.js --watch --runInBand",
|
43 | "test:visual": "NODE_ENV=test IS_VISUAL_TEST=true start-test http-get://localhost:9001 'jest ./tests/storyshots.spec.js'",
|
44 | "test:visual:update": "NODE_ENV=test IS_VISUAL_TEST=true start-test http-get://localhost:9001 'jest ./tests/storyshots.spec.js --updateSnapshot'",
|
45 | "prettier": "prettier --check '**/*.{js,vue}'",
|
46 | "prettier:fix": "prettier --write '**/*.{js,vue}'",
|
47 | "eslint": "eslint --max-warnings 0 --ext .js,.vue .",
|
48 | "preeslint": "yarn generate-utilities",
|
49 | "eslint:fix": "yarn eslint --fix",
|
50 | "stylelint": "stylelint 'src/**/*.scss'",
|
51 | "prestylelint": "yarn generate-utilities",
|
52 | "stylelint:fix": "yarn stylelint --fix",
|
53 | "markdownlint": "markdownlint '**/*.md' --ignore node_modules --ignore CHANGELOG.md",
|
54 | "markdownlint:fix": "yarn markdownlint --fix",
|
55 | "lint": "run-p prettier eslint stylelint markdownlint",
|
56 | "lint:fix": "run-s prettier:fix eslint:fix stylelint:fix markdownlint:fix",
|
57 | "generate:component": "plop"
|
58 | },
|
59 | "dependencies": {
|
60 | "@babel/standalone": "^7.0.0",
|
61 | "bootstrap-vue": "2.20.1",
|
62 | "copy-to-clipboard": "^3.0.8",
|
63 | "dompurify": "^2.3.3",
|
64 | "echarts": "^5.2.1",
|
65 | "highlight.js": "^10.6.0",
|
66 | "js-beautify": "^1.8.8",
|
67 | "lodash": "^4.17.20",
|
68 | "portal-vue": "^2.1.6",
|
69 | "url-search-params-polyfill": "^5.0.0",
|
70 | "vue-runtime-helpers": "^1.1.2"
|
71 | },
|
72 | "peerDependencies": {
|
73 | "@gitlab/svgs": "^1.116.0",
|
74 | "bootstrap": "4.5.3",
|
75 | "pikaday": "^1.8.0",
|
76 | "vue": "^2.6.10"
|
77 | },
|
78 | "resolutions": {
|
79 | "chokidar": "^3.5.2"
|
80 | },
|
81 | "devDependencies": {
|
82 | "@arkweid/lefthook": "^0.7.6",
|
83 | "@babel/core": "^7.10.2",
|
84 | "@babel/preset-env": "^7.10.2",
|
85 | "@gitlab/eslint-plugin": "9.4.0",
|
86 | "@gitlab/stylelint-config": "2.6.0",
|
87 | "@gitlab/svgs": "1.221.0",
|
88 | "@rollup/plugin-commonjs": "^11.1.0",
|
89 | "@rollup/plugin-node-resolve": "^7.1.3",
|
90 | "@rollup/plugin-replace": "^2.3.2",
|
91 | "@storybook/addon-a11y": "6.3.12",
|
92 | "@storybook/addon-docs": "6.3.12",
|
93 | "@storybook/addon-essentials": "6.3.12",
|
94 | "@storybook/addon-knobs": "6.3.1",
|
95 | "@storybook/addon-storyshots": "6.3.12",
|
96 | "@storybook/addon-storyshots-puppeteer": "6.3.12",
|
97 | "@storybook/addon-viewport": "6.3.12",
|
98 | "@storybook/theming": "6.3.12",
|
99 | "@storybook/vue": "6.3.12",
|
100 | "@vue/test-utils": "1.1.3",
|
101 | "autoprefixer": "^9.7.6",
|
102 | "babel-jest": "^26.6.3",
|
103 | "babel-loader": "^8.0.5",
|
104 | "babel-plugin-lodash": "^3.3.4",
|
105 | "babel-plugin-require-context-hook": "^1.0.0",
|
106 | "babel-preset-vue": "^2.0.2",
|
107 | "bootstrap": "4.5.3",
|
108 | "cypress": "^6.6.0",
|
109 | "eslint": "7.32.0",
|
110 | "eslint-import-resolver-jest": "3.0.2",
|
111 | "eslint-plugin-cypress": "2.12.1",
|
112 | "file-loader": "^4.2.0",
|
113 | "identity-obj-proxy": "^3.0.0",
|
114 | "inquirer-select-directory": "^1.2.0",
|
115 | "jest": "^26.6.3",
|
116 | "jest-raw-loader": "^1.0.1",
|
117 | "jest-serializer-vue": "^2.0.2",
|
118 | "markdown-loader-jest": "^0.1.1",
|
119 | "markdownlint-cli": "^0.29.0",
|
120 | "mockdate": "^2.0.5",
|
121 | "node-sass": "^4.14.1",
|
122 | "node-sass-magic-importer": "^5.3.2",
|
123 | "nodemon": "^1.11.0",
|
124 | "npm-run-all": "^4.1.5",
|
125 | "pikaday": "^1.8.0",
|
126 | "plop": "^2.5.4",
|
127 | "postcss": "^7.0.30",
|
128 | "postcss-loader": "^3.0.0",
|
129 | "postcss-scss": "^2.1.1",
|
130 | "prettier": "2.2.1",
|
131 | "pug": "^2.0.3",
|
132 | "puppeteer": "^10.4.0",
|
133 | "raw-loader": "^0.5.1",
|
134 | "rollup": "^2.53.1",
|
135 | "rollup-plugin-babel": "^4.4.0",
|
136 | "rollup-plugin-postcss": "^3.1.1",
|
137 | "rollup-plugin-string": "^3.0.0",
|
138 | "rollup-plugin-svg": "^2.0.0",
|
139 | "rollup-plugin-vue": "^5.1.6",
|
140 | "sass-export": "^1.0.3",
|
141 | "sass-loader": "^7.1.0",
|
142 | "sass-true": "^5.0.0",
|
143 | "start-server-and-test": "^1.10.6",
|
144 | "storybook-readme": "5.0.9",
|
145 | "stylelint-config-prettier": "9.0.3",
|
146 | "stylelint-prettier": "1.2.0",
|
147 | "vue": "^2.6.11",
|
148 | "vue-jest": "4.0.0-rc.0",
|
149 | "vue-loader": "^15.8.3",
|
150 | "vue-template-compiler": "^2.6.11"
|
151 | },
|
152 | "release": {
|
153 | "branches": [
|
154 | "main"
|
155 | ],
|
156 | "verifyConditions": [
|
157 | "@semantic-release/changelog",
|
158 | "@semantic-release/npm",
|
159 | "@semantic-release/git",
|
160 | "@semantic-release/gitlab"
|
161 | ],
|
162 | "prepare": [
|
163 | "@semantic-release/changelog",
|
164 | "@semantic-release/npm",
|
165 | "@semantic-release/git"
|
166 | ],
|
167 | "publish": [
|
168 | "@semantic-release/npm",
|
169 | "@semantic-release/gitlab"
|
170 | ],
|
171 | "success": false,
|
172 | "fail": false
|
173 | }
|
174 | }
|