package.json 8.9 KB
Newer Older
W
winniehell 已提交
1 2 3
{
  "private": true,
  "scripts": {
4
    "check-dependencies": "scripts/frontend/check_dependencies.sh",
5
    "block-dependencies": "node scripts/frontend/block_dependencies.js",
6
    "clean": "rm -rf public/assets tmp/cache/*-loader",
7
    "dev-server": "NODE_OPTIONS=\"--max-old-space-size=3584\" node scripts/frontend/webpack_dev_server.js",
8 9
    "eslint": "eslint --cache --max-warnings 0 --report-unused-disable-directives --ext .js,.vue .",
    "eslint-fix": "eslint --cache --max-warnings 0 --report-unused-disable-directives --ext .js,.vue --fix .",
10 11
    "eslint-staged": "git diff --diff-filter=d --cached --name-only | grep -E \"(.*)\\.(js|vue)$\" | xargs eslint --cache --max-warnings 0 --report-unused-disable-directives",
    "eslint-staged-fix": "git diff --diff-filter=d --cached --name-only | grep -E \"(.*)\\.(js|vue)$\" | xargs eslint --cache --max-warnings 0 --report-unused-disable-directives --fix",
12
    "eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config .",
13
    "file-coverage": "scripts/frontend/file_test_coverage.js",
14
    "prejest": "yarn check-dependencies",
15
    "jest": "jest --config jest.config.js",
16
    "jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
17
    "jest:integration": "jest --config jest.config.integration.js",
18
    "jsdoc": "jsdoc -c config/jsdocs.config.js",
19
    "prekarma": "yarn check-dependencies",
M
Mike Greiling 已提交
20
    "karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
21
    "karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
22
    "karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
23
    "markdownlint": "markdownlint -c .markdownlint.json 'doc/**/*.md'",
24
    "postinstall": "node ./scripts/frontend/postinstall.js",
M
Mike Greiling 已提交
25
    "prettier-staged": "node ./scripts/frontend/prettier.js check",
26 27 28
    "prettier-staged-save": "node ./scripts/frontend/prettier.js save",
    "prettier-all": "node ./scripts/frontend/prettier.js check-all",
    "prettier-all-save": "node ./scripts/frontend/prettier.js save-all",
29
    "stylelint": "yarn stylelint-file 'app/assets/stylesheets/**/*.*'  'ee/app/assets/stylesheets/**/*.*' '!app/assets/stylesheets/startup/startup-*.scss' '!**/vendors/**'",
30
    "stylelint-file": "BROWSERSLIST_IGNORE_OLD_DATA=true node node_modules/stylelint/bin/stylelint.js",
31
    "stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
32
    "test": "node scripts/frontend/test",
33
    "webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js",
34
    "webpack-vendor": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.vendor.config.js",
S
shampton 已提交
35
    "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
W
winniehell 已提交
36
  },
37
  "dependencies": {
38 39 40 41 42 43
    "@babel/core": "^7.10.1",
    "@babel/plugin-proposal-class-properties": "^7.10.1",
    "@babel/plugin-proposal-json-strings": "^7.10.1",
    "@babel/plugin-proposal-private-methods": "^7.10.1",
    "@babel/plugin-syntax-import-meta": "^7.10.1",
    "@babel/preset-env": "^7.10.1",
44
    "@gitlab/at.js": "1.5.5",
45
    "@gitlab/svgs": "1.161.0",
46
    "@gitlab/ui": "20.18.0",
47
    "@gitlab/visual-review-tools": "1.6.1",
48
    "@rails/actioncable": "^6.0.3-1",
49
    "@sentry/browser": "^5.10.2",
50
    "@sourcegraph/code-host-integration": "0.0.50",
51 52
    "@toast-ui/editor": "^2.3.1",
    "@toast-ui/vue-editor": "^2.3.1",
53 54 55 56 57
    "apollo-cache-inmemory": "^1.6.6",
    "apollo-client": "^2.6.10",
    "apollo-link": "^1.2.14",
    "apollo-link-batch-http": "^1.2.14",
    "apollo-upload-client": "^13.0.0",
58
    "autosize": "^4.0.2",
59
    "aws-sdk": "^2.637.0",
60
    "axios": "^0.20.0",
61
    "babel-loader": "^8.0.6",
62
    "babel-plugin-lodash": "^3.3.4",
63
    "bootstrap": "4.4.1",
64
    "brace-expansion": "^1.1.8",
65
    "cache-loader": "^4.1.0",
66
    "clipboard": "^1.7.1",
67
    "codemirror": "^5.48.4",
68
    "codesandbox-api": "0.0.23",
69 70
    "compression-webpack-plugin": "^3.0.1",
    "copy-webpack-plugin": "^5.0.5",
71
    "core-js": "^3.6.4",
72
    "cron-validator": "^1.1.1",
73
    "cropper": "^2.3.0",
74
    "css-loader": "^2.1.1",
75
    "d3": "^5.16.0",
76
    "d3-sankey": "^0.12.3",
77
    "d3-scale": "^2.2.2",
78
    "d3-selection": "^1.2.0",
79
    "dateformat": "^3.0.3",
80
    "deckar01-task_list": "^2.3.1",
P
Phil Hughes 已提交
81
    "diff": "^3.4.0",
82
    "document-register-element": "1.14.3",
83
    "dompurify": "^2.0.11",
84
    "dropzone": "^4.2.0",
85
    "editorconfig": "^0.15.3",
M
Martin Wortschack 已提交
86
    "emoji-regex": "^7.0.3",
E
Eric Eastwood 已提交
87
    "emoji-unicode-version": "^0.2.1",
M
Mike Greiling 已提交
88
    "exports-loader": "^0.7.0",
89
    "file-loader": "^5.1.0",
90
    "font-awesome": "4.7.0",
91 92
    "fuzzaldrin-plus": "^0.6.0",
    "glob": "^7.1.6",
93
    "graphql": "^14.7.0",
94
    "graphql-tag": "^2.10.1",
95
    "immer": "^7.0.7",
M
Mike Greiling 已提交
96
    "imports-loader": "^0.8.0",
97
    "ipaddr.js": "^1.9.1",
98
    "jed": "^1.1.1",
P
Phil Hughes 已提交
99
    "jest-transform-graphql": "^2.1.0",
100
    "jquery": "^3.5.0",
T
Takuya Noguchi 已提交
101
    "jquery-ujs": "1.2.2",
102
    "jquery.caret": "^0.3.1",
103
    "jquery.waitforimages": "^2.2.0",
104
    "js-cookie": "^2.2.1",
105
    "js-yaml": "^3.13.1",
J
Jacob Schatz 已提交
106 107
    "jszip": "^3.1.3",
    "jszip-utils": "^0.0.2",
A
Andrew Harmon 已提交
108
    "katex": "^0.10.0",
109
    "lodash": "^4.17.20",
110
    "marked": "^0.3.12",
111
    "mermaid": "^8.5.2",
112
    "mersenne-twister": "1.1.0",
113
    "minimatch": "^3.0.4",
114
    "miragejs": "^0.1.40",
115
    "mock-apollo-client": "^0.4.0",
116 117
    "monaco-editor": "^0.20.0",
    "monaco-editor-webpack-plugin": "^1.9.0",
118
    "monaco-yaml": "^2.4.1",
119
    "mousetrap": "^1.4.6",
120
    "pdfjs-dist": "^2.0.943",
E
Enrique Alcántara 已提交
121
    "pikaday": "^1.8.0",
122
    "popper.js": "^1.16.1",
123
    "prismjs": "^1.21.0",
124 125
    "prosemirror-markdown": "^1.3.0",
    "prosemirror-model": "^1.6.4",
126
    "raphael": "^2.2.7",
127
    "raw-loader": "^4.0.0",
128
    "select2": "3.5.2-browserify",
129
    "smooshpack": "^0.0.62",
130
    "sortablejs": "^1.10.2",
131
    "sql.js": "^0.4.0",
132
    "stickyfilljs": "^2.1.0",
133
    "string-hash": "1.1.3",
134
    "style-loader": "^1.1.3",
135
    "swagger-ui-dist": "^3.32.4",
P
Phil Hughes 已提交
136 137 138
    "three": "^0.84.0",
    "three-orbit-controls": "^82.1.0",
    "three-stl-loader": "^1.0.4",
139
    "timeago.js": "^4.0.2",
140 141 142
    "tiptap": "^1.8.0",
    "tiptap-commands": "^1.4.0",
    "tiptap-extensions": "^1.8.0",
143
    "tributejs": "5.1.3",
144
    "url-loader": "^3.0.0",
145
    "uuid": "8.1.0",
F
Filipa Lacerda 已提交
146
    "visibilityjs": "^1.2.4",
T
Tim Zallmann 已提交
147
    "vue": "^2.6.10",
148
    "vue-apollo": "^3.0.3",
149
    "vue-loader": "^15.9.0",
150
    "vue-router": "^3.4.3",
T
Tim Zallmann 已提交
151
    "vue-template-compiler": "^2.6.10",
152
    "vue-virtual-scroll-list": "^1.4.4",
153
    "vuedraggable": "^2.23.0",
T
Tim Zallmann 已提交
154
    "vuex": "^3.1.0",
155 156 157 158
    "webpack": "^4.42.0",
    "webpack-bundle-analyzer": "^3.6.0",
    "webpack-cli": "^3.3.11",
    "webpack-stats-plugin": "^0.3.1",
159
    "worker-loader": "^2.0.0",
160
    "xterm": "3.14.5"
161
  },
W
winniehell 已提交
162
  "devDependencies": {
163
    "@babel/plugin-transform-modules-commonjs": "^7.10.1",
164
    "@gitlab/eslint-plugin": "4.0.0",
165
    "@testing-library/dom": "^7.16.2",
166
    "@vue/test-utils": "1.0.0-beta.30",
167
    "acorn": "^6.3.0",
168
    "axios-mock-adapter": "^1.15.0",
169
    "babel-jest": "^24.1.0",
170
    "babel-plugin-dynamic-import-node": "^2.2.0",
M
Mike Greiling 已提交
171
    "babel-plugin-istanbul": "^5.1.0",
172
    "chalk": "^2.4.1",
173
    "commander": "^2.18.0",
W
Winnie Hellmann 已提交
174
    "custom-jquery-matchers": "^2.1.0",
175
    "docdash": "^1.0.2",
176
    "eslint": "^6.8.0",
177
    "eslint-import-resolver-jest": "^2.1.1",
178 179
    "eslint-import-resolver-webpack": "^0.12.1",
    "eslint-plugin-jasmine": "^4.1.0",
180
    "eslint-plugin-no-jquery": "^2.3.0",
T
Tim Zallmann 已提交
181 182
    "gettext-extractor": "^3.4.3",
    "gettext-extractor-vue": "^4.0.2",
183 184 185
    "istanbul-lib-coverage": "^3.0.0",
    "istanbul-lib-report": "^3.0.0",
    "istanbul-reports": "^3.0.0",
186
    "jasmine-core": "^2.9.0",
187
    "jasmine-diff": "^0.1.3",
188
    "jasmine-jquery": "^2.1.1",
189
    "jest": "^24.1.0",
190
    "jest-canvas-mock": "^2.1.2",
191
    "jest-environment-jsdom-sixteen": "^1.0.0",
192
    "jest-junit": "^6.3.0",
193
    "jest-util": "^24.0.0",
194 195
    "jsdoc": "^3.5.5",
    "jsdoc-vue": "^1.0.0",
T
Takuya Noguchi 已提交
196 197 198
    "karma": "^4.2.0",
    "karma-chrome-launcher": "^3.0.0",
    "karma-coverage-istanbul-reporter": "^2.1.0",
M
Mike Greiling 已提交
199
    "karma-jasmine": "^1.1.2",
200
    "karma-junit-reporter": "^1.2.0",
T
Tim Zallmann 已提交
201
    "karma-mocha-reporter": "^2.2.5",
M
Mike Greiling 已提交
202
    "karma-sourcemap-loader": "^0.3.7",
T
Takuya Noguchi 已提交
203
    "karma-webpack": "^4.0.2",
204
    "markdownlint-cli": "0.23.2",
205
    "md5": "^2.2.1",
206
    "node-sass": "^4.12.0",
207
    "nodemon": "^2.0.4",
208
    "pixelmatch": "^4.0.2",
T
Tim Zallmann 已提交
209
    "postcss": "^7.0.14",
210
    "prettier": "1.18.2",
211
    "readdir-enhanced": "^2.2.4",
212 213 214
    "stylelint": "^10.1.0",
    "stylelint-config-recommended": "^2.2.0",
    "stylelint-scss": "^3.9.2",
W
Wei-Meng Lee 已提交
215
    "timezone-mock": "^1.0.8",
216
    "vue-jest": "4.0.0-beta.2",
217
    "webpack-dev-server": "^3.10.3",
218
    "xhr-mock": "^2.5.1",
219
    "yarn-check-webpack-plugin": "^1.2.0",
220
    "yarn-deduplicate": "^1.1.1"
221
  },
222
  "blockedDependencies": {
223
    "bootstrap-vue": "https://docs.gitlab.com/ee/development/fe_guide/dependencies.html#bootstrapvue"
224
  },
225
  "resolutions": {
226
    "chokidar": "^3.4.0",
227
    "monaco-editor": "0.20.0",
228
    "vue-jest/ts-jest": "24.0.0"
229
  },
230
  "engines": {
231
    "node": ">=10.13.0",
232
    "yarn": "^1.10.0"
W
winniehell 已提交
233
  }
234
}