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