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