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