package.json 8.0 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\" nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.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
    "eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config .",
11
    "file-coverage": "scripts/frontend/file_test_coverage.js",
12 13
    "prejest": "yarn check-dependencies",
    "jest": "jest",
14
    "jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
15
    "jsdoc": "jsdoc -c config/jsdocs.config.js",
16
    "prekarma": "yarn check-dependencies",
M
Mike Greiling 已提交
17
    "karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
18
    "karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
19
    "karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
20
    "markdownlint": "markdownlint -c .markdownlint.json 'doc/**/*.md'",
21
    "postinstall": "node ./scripts/frontend/postinstall.js",
M
Mike Greiling 已提交
22
    "prettier-staged": "node ./scripts/frontend/prettier.js check",
23 24 25
    "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",
26 27
    "stylelint": "yarn stylelint-file app/assets/stylesheets/**/*.*  ee/app/assets/stylesheets/**/*.* !**/vendors/**",
    "stylelint-file": "BROWSERSLIST_IGNORE_OLD_DATA=true node node_modules/stylelint/bin/stylelint.js",
28
    "stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
29
    "test": "node scripts/frontend/test",
30
    "webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js",
31
    "webpack-vendor": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.vendor.config.js",
S
shampton 已提交
32
    "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
W
winniehell 已提交
33
  },
34
  "dependencies": {
35 36 37 38 39 40
    "@babel/core": "^7.8.4",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/plugin-proposal-json-strings": "^7.8.3",
    "@babel/plugin-proposal-private-methods": "^7.8.3",
    "@babel/plugin-syntax-import-meta": "^7.8.3",
    "@babel/preset-env": "^7.8.4",
41
    "@gitlab/at.js": "^1.5.5",
42
    "@gitlab/svgs": "^1.105.0",
43
    "@gitlab/ui": "^9.21.1",
44
    "@gitlab/visual-review-tools": "1.5.1",
45
    "@sentry/browser": "^5.10.2",
46
    "@sourcegraph/code-host-integration": "0.0.30",
47
    "apollo-cache-inmemory": "^1.6.3",
48
    "apollo-client": "^2.6.4",
P
Phil Hughes 已提交
49 50
    "apollo-link": "^1.2.11",
    "apollo-link-batch-http": "^1.2.11",
51
    "apollo-upload-client": "^10.0.0",
52
    "autosize": "^4.0.0",
53
    "aws-sdk": "^2.526.0",
L
Lukas Eipert 已提交
54
    "axios": "^0.19.0",
55
    "babel-loader": "^8.0.6",
56
    "babel-plugin-lodash": "^3.3.4",
L
Lukas Eipert 已提交
57
    "bootstrap": "4.3.1",
58
    "brace-expansion": "^1.1.8",
59
    "cache-loader": "^4.1.0",
A
Andrew Fontaine 已提交
60
    "chart.js": "2.7.2",
61
    "classlist-polyfill": "^1.2.0",
62
    "clipboard": "^1.7.1",
P
Phil Hughes 已提交
63
    "codesandbox-api": "^0.0.20",
64 65
    "compression-webpack-plugin": "^3.0.1",
    "copy-webpack-plugin": "^5.0.5",
66
    "core-js": "^3.6.4",
67
    "cropper": "^2.3.0",
68
    "css-loader": "^1.0.0",
69
    "d3": "^4.13.0",
70 71
    "d3-scale": "^1.0.7",
    "d3-selection": "^1.2.0",
72
    "dateformat": "^3.0.3",
73
    "deckar01-task_list": "^2.3.1",
P
Phil Hughes 已提交
74
    "diff": "^3.4.0",
75
    "document-register-element": "1.13.1",
76
    "dropzone": "^4.2.0",
M
Martin Wortschack 已提交
77
    "emoji-regex": "^7.0.3",
E
Eric Eastwood 已提交
78
    "emoji-unicode-version": "^0.2.1",
M
Mike Greiling 已提交
79
    "exports-loader": "^0.7.0",
80
    "file-loader": "^4.2.0",
L
Luke Bennett 已提交
81
    "formdata-polyfill": "^3.0.11",
82
    "fuzzaldrin-plus": "^0.5.0",
83
    "glob": "^7.1.2",
P
Phil Hughes 已提交
84
    "graphql": "^14.0.2",
85
    "immer": "^5.2.1",
M
Mike Greiling 已提交
86
    "imports-loader": "^0.8.0",
87
    "jed": "^1.1.1",
P
Phil Hughes 已提交
88
    "jest-transform-graphql": "^2.1.0",
L
Lukas Eipert 已提交
89
    "jquery": "^3.4.1",
T
Takuya Noguchi 已提交
90
    "jquery-ujs": "1.2.2",
91
    "jquery.caret": "^0.3.1",
92
    "jquery.waitforimages": "^2.2.0",
93
    "js-cookie": "^2.1.3",
J
Jacob Schatz 已提交
94 95
    "jszip": "^3.1.3",
    "jszip-utils": "^0.0.2",
A
Andrew Harmon 已提交
96
    "katex": "^0.10.0",
97
    "lodash": "^4.17.15",
98
    "marked": "^0.3.12",
99
    "mermaid": "^8.4.5",
100
    "monaco-editor": "^0.18.1",
101
    "monaco-editor-webpack-plugin": "^1.7.0",
102
    "mousetrap": "^1.4.6",
103
    "pdfjs-dist": "^2.0.943",
E
Enrique Alcántara 已提交
104
    "pikaday": "^1.8.0",
L
Lukas Eipert 已提交
105
    "popper.js": "^1.14.7",
P
Phil Hughes 已提交
106
    "prismjs": "^1.6.0",
107 108
    "prosemirror-markdown": "^1.3.0",
    "prosemirror-model": "^1.6.4",
109
    "raphael": "^2.2.7",
110
    "raw-loader": "^3.1.0",
111
    "sanitize-html": "^1.20.0",
112
    "select2": "3.5.2-browserify",
113
    "smooshpack": "^0.0.54",
114
    "sortablejs": "^1.10.0",
115
    "sql.js": "^0.4.0",
116
    "stickyfilljs": "^2.0.5",
117
    "style-loader": "^1.0.0",
118
    "svg4everybody": "2.1.9",
119
    "swagger-ui-dist": "^3.24.3",
P
Phil Hughes 已提交
120 121 122
    "three": "^0.84.0",
    "three-orbit-controls": "^82.1.0",
    "three-stl-loader": "^1.0.4",
123
    "timeago.js": "^4.0.1",
124 125 126
    "tiptap": "^1.8.0",
    "tiptap-commands": "^1.4.0",
    "tiptap-extensions": "^1.8.0",
T
Tim Zallmann 已提交
127
    "underscore": "^1.9.0",
128
    "unfetch": "^4.1.0",
129
    "url-loader": "^2.1.0",
F
Filipa Lacerda 已提交
130
    "visibilityjs": "^1.2.4",
T
Tim Zallmann 已提交
131
    "vue": "^2.6.10",
P
Phil Hughes 已提交
132
    "vue-apollo": "^3.0.0-beta.28",
133
    "vue-loader": "^15.7.1",
T
Tim Zallmann 已提交
134
    "vue-router": "^3.0.2",
T
Tim Zallmann 已提交
135
    "vue-template-compiler": "^2.6.10",
136
    "vue-virtual-scroll-list": "^1.4.4",
137
    "vuedraggable": "^2.23.0",
T
Tim Zallmann 已提交
138
    "vuex": "^3.1.0",
139
    "webpack": "^4.41.5",
140 141 142
    "webpack-bundle-analyzer": "^3.5.1",
    "webpack-cli": "^3.3.9",
    "webpack-stats-plugin": "^0.3.0",
143 144
    "worker-loader": "^2.0.0",
    "xterm": "^3.5.0"
145
  },
W
winniehell 已提交
146
  "devDependencies": {
147
    "@babel/plugin-transform-modules-commonjs": "^7.8.3",
148
    "@gitlab/eslint-config": "^3.0.0",
149
    "@vue/test-utils": "^1.0.0-beta.30",
150
    "axios-mock-adapter": "^1.15.0",
151
    "babel-jest": "^24.1.0",
152
    "babel-plugin-dynamic-import-node": "^2.2.0",
M
Mike Greiling 已提交
153
    "babel-plugin-istanbul": "^5.1.0",
M
Mike Greiling 已提交
154
    "babel-plugin-rewire": "^1.2.0",
155
    "chalk": "^2.4.1",
156
    "commander": "^2.18.0",
W
Winnie Hellmann 已提交
157
    "custom-jquery-matchers": "^2.1.0",
158
    "docdash": "^1.0.2",
159
    "eslint": "^6.8.0",
160
    "eslint-import-resolver-jest": "^2.1.1",
161 162
    "eslint-import-resolver-webpack": "^0.12.1",
    "eslint-plugin-jasmine": "^4.1.0",
163
    "eslint-plugin-jest": "^22.3.0",
164
    "eslint-plugin-no-jquery": "^2.3.0",
T
Tim Zallmann 已提交
165 166
    "gettext-extractor": "^3.4.3",
    "gettext-extractor-vue": "^4.0.2",
P
Phil Hughes 已提交
167
    "graphql-tag": "^2.10.0",
168 169 170
    "istanbul-lib-coverage": "^3.0.0",
    "istanbul-lib-report": "^3.0.0",
    "istanbul-reports": "^3.0.0",
171
    "jasmine-core": "^2.9.0",
172
    "jasmine-diff": "^0.1.3",
173
    "jasmine-jquery": "^2.1.1",
174
    "jest": "^24.1.0",
175
    "jest-canvas-mock": "^2.1.2",
176
    "jest-environment-jsdom": "^24.0.0",
177
    "jest-junit": "^6.3.0",
178
    "jest-util": "^24.0.0",
179 180
    "jsdoc": "^3.5.5",
    "jsdoc-vue": "^1.0.0",
T
Takuya Noguchi 已提交
181 182 183
    "karma": "^4.2.0",
    "karma-chrome-launcher": "^3.0.0",
    "karma-coverage-istanbul-reporter": "^2.1.0",
M
Mike Greiling 已提交
184
    "karma-jasmine": "^1.1.2",
185
    "karma-junit-reporter": "^1.2.0",
T
Tim Zallmann 已提交
186
    "karma-mocha-reporter": "^2.2.5",
M
Mike Greiling 已提交
187
    "karma-sourcemap-loader": "^0.3.7",
T
Takuya Noguchi 已提交
188
    "karma-webpack": "^4.0.2",
189
    "markdownlint-cli": "0.18.0",
190
    "md5": "^2.2.1",
191
    "node-sass": "^4.12.0",
192
    "nodemon": "^1.18.9",
193
    "pixelmatch": "^4.0.2",
T
Tim Zallmann 已提交
194
    "postcss": "^7.0.14",
195
    "prettier": "1.18.2",
196
    "readdir-enhanced": "^2.2.4",
197 198 199
    "stylelint": "^10.1.0",
    "stylelint-config-recommended": "^2.2.0",
    "stylelint-scss": "^3.9.2",
W
Wei-Meng Lee 已提交
200
    "timezone-mock": "^1.0.8",
201
    "vue-jest": "^4.0.0-beta.2",
202
    "webpack-dev-server": "^3.8.1",
203
    "yarn-check-webpack-plugin": "^1.2.0",
204
    "yarn-deduplicate": "^1.1.1"
205
  },
206 207 208
  "blockedDependencies": {
    "bootstrap-vue": "https://docs.gitlab.com/ee/development/fe_guide/dependencies.md#bootstrapvue"
  },
209
  "resolutions": {
210
    "vue-jest/ts-jest": "24.0.0",
211
    "monaco-editor": "0.18.1"
212
  },
213
  "engines": {
214
    "node": ">=8.10.0",
215
    "yarn": "^1.10.0"
W
winniehell 已提交
216 217
  }
}