package.json 7.6 KB
Newer Older
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
1 2 3
{
  "private": true,
  "scripts": {
4
    "check-dependencies": "yarn check --integrity",
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 8
    "eslint": "eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue .",
    "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 11
    "prejest": "yarn check-dependencies",
    "jest": "jest",
12
    "jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
13
    "jsdoc": "jsdoc -c config/jsdocs.config.js",
14
    "prekarma": "yarn check-dependencies",
15
    "karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
16
    "karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
17
    "karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
18
    "postinstall": "node ./scripts/frontend/postinstall.js",
19
    "prettier-staged": "node ./scripts/frontend/prettier.js check",
20 21 22
    "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",
23
    "stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.*  ee/app/assets/stylesheets/**/*.* !**/vendors/** --custom-formatter node_modules/stylelint-error-string-formatter",
24 25
    "stylelint-file": "node node_modules/stylelint/bin/stylelint.js",
    "stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
26
    "test": "node scripts/frontend/test",
27
    "webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js",
28 29
    "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js",
    "webpack-vrt": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.review_toolbar.js"
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
30
  },
31
  "dependencies": {
Takuya Noguchi's avatar
Takuya Noguchi committed
32 33
    "@babel/core": "^7.4.4",
    "@babel/plugin-proposal-class-properties": "^7.4.4",
Mike Greiling's avatar
Mike Greiling committed
34
    "@babel/plugin-proposal-json-strings": "^7.2.0",
Takuya Noguchi's avatar
Takuya Noguchi committed
35
    "@babel/plugin-proposal-private-methods": "^7.4.4",
Mike Greiling's avatar
Mike Greiling committed
36 37
    "@babel/plugin-syntax-dynamic-import": "^7.2.0",
    "@babel/plugin-syntax-import-meta": "^7.2.0",
Takuya Noguchi's avatar
Takuya Noguchi committed
38
    "@babel/preset-env": "^7.4.4",
39
    "@gitlab/csslab": "^1.9.0",
40
    "@gitlab/svgs": "^1.66.0",
41
    "@gitlab/ui": "^5.3.2",
42
    "apollo-cache-inmemory": "^1.5.1",
Phil Hughes's avatar
Phil Hughes committed
43
    "apollo-client": "^2.5.1",
44 45
    "apollo-link": "^1.2.11",
    "apollo-link-batch-http": "^1.2.11",
46
    "apollo-upload-client": "^10.0.0",
47
    "at.js": "^1.5.4",
48
    "autosize": "^4.0.0",
49
    "axios": "^0.19.0",
50
    "babel-loader": "^8.0.5",
51
    "bootstrap": "4.3.1",
52
    "brace-expansion": "^1.1.8",
53
    "cache-loader": "^2.0.1",
54
    "chart.js": "2.7.2",
55
    "classlist-polyfill": "^1.2.0",
56
    "clipboard": "^1.7.1",
57
    "codesandbox-api": "^0.0.20",
58
    "compression-webpack-plugin": "^2.0.0",
59
    "core-js": "^3.1.3",
60
    "cropper": "^2.3.0",
Mike Greiling's avatar
Mike Greiling committed
61
    "css-loader": "^1.0.0",
Lukas 'Eipi' Eipert's avatar
Lukas 'Eipi' Eipert committed
62
    "d3": "^4.13.0",
63 64 65
    "d3-array": "^1.2.1",
    "d3-axis": "^1.0.8",
    "d3-brush": "^1.0.4",
66
    "d3-ease": "^1.0.3",
67 68 69 70 71
    "d3-scale": "^1.0.7",
    "d3-selection": "^1.2.0",
    "d3-shape": "^1.2.0",
    "d3-time": "^1.0.8",
    "d3-time-format": "^2.1.1",
72
    "d3-transition": "^1.1.1",
73
    "dateformat": "^3.0.3",
74
    "deckar01-task_list": "^2.2.0",
Phil Hughes's avatar
Phil Hughes committed
75
    "diff": "^3.4.0",
76
    "document-register-element": "1.13.1",
77
    "dropzone": "^4.2.0",
78
    "echarts": "^4.2.0-rc.2",
79
    "emoji-regex": "^7.0.3",
80
    "emoji-unicode-version": "^0.2.1",
81
    "exports-loader": "^0.7.0",
82
    "file-loader": "^3.0.1",
Luke Bennett's avatar
Luke Bennett committed
83
    "formdata-polyfill": "^3.0.11",
84
    "fuzzaldrin-plus": "^0.5.0",
85
    "glob": "^7.1.2",
86
    "graphql": "^14.0.2",
87
    "imports-loader": "^0.8.0",
88
    "jed": "^1.1.1",
89
    "jest-transform-graphql": "^2.1.0",
90
    "jquery": "^3.4.1",
Takuya Noguchi's avatar
Takuya Noguchi committed
91
    "jquery-ujs": "1.2.2",
92
    "jquery.caret": "^0.3.1",
93
    "jquery.waitforimages": "^2.2.0",
94
    "js-cookie": "^2.1.3",
95 96
    "jszip": "^3.1.3",
    "jszip-utils": "^0.0.2",
Andrew Harmon's avatar
Andrew Harmon committed
97
    "katex": "^0.10.0",
98
    "marked": "^0.3.12",
Stan Hu's avatar
Stan Hu committed
99
    "mermaid": "^8.1.0",
100 101
    "monaco-editor": "^0.15.6",
    "monaco-editor-webpack-plugin": "^1.7.0",
102
    "mousetrap": "^1.4.6",
103
    "pdfjs-dist": "^2.0.943",
Filipa Lacerda's avatar
Filipa Lacerda committed
104
    "pikaday": "^1.6.1",
105
    "popper.js": "^1.14.7",
106
    "prismjs": "^1.6.0",
107 108
    "prosemirror-markdown": "^1.3.0",
    "prosemirror-model": "^1.6.4",
109
    "raphael": "^2.2.7",
110
    "raven-js": "^3.22.1",
111
    "raw-loader": "^1.0.0",
112
    "sanitize-html": "^1.16.1",
113
    "select2": "3.5.2-browserify",
114
    "sha1": "^1.1.1",
115
    "smooshpack": "^0.0.54",
116
    "sortablejs": "^1.7.0",
117
    "sql.js": "^0.4.0",
118
    "stickyfilljs": "^2.0.5",
119
    "style-loader": "^0.23.1",
120
    "stylelint-error-string-formatter": "1.0.2",
121
    "svg4everybody": "2.1.9",
Phil Hughes's avatar
Phil Hughes committed
122 123 124
    "three": "^0.84.0",
    "three-orbit-controls": "^82.1.0",
    "three-stl-loader": "^1.0.4",
Tim Zallmann's avatar
Tim Zallmann committed
125
    "timeago.js": "^3.0.2",
126 127 128
    "tiptap": "^1.8.0",
    "tiptap-commands": "^1.4.0",
    "tiptap-extensions": "^1.8.0",
Tim Zallmann's avatar
Tim Zallmann committed
129
    "underscore": "^1.9.0",
130
    "url-loader": "^1.1.2",
Filipa Lacerda's avatar
Filipa Lacerda committed
131
    "visibilityjs": "^1.2.4",
Tim Zallmann's avatar
Tim Zallmann committed
132
    "vue": "^2.6.10",
Phil Hughes's avatar
Phil Hughes committed
133
    "vue-apollo": "^3.0.0-beta.28",
Tim Zallmann's avatar
Tim Zallmann committed
134
    "vue-loader": "^15.7.0",
135 136
    "vue-resource": "^1.5.1",
    "vue-router": "^3.0.2",
Tim Zallmann's avatar
Tim Zallmann committed
137 138 139
    "vue-template-compiler": "^2.6.10",
    "vue-virtual-scroll-list": "^1.3.1",
    "vuex": "^3.1.0",
140
    "webpack": "^4.29.0",
141 142
    "webpack-bundle-analyzer": "^3.0.3",
    "webpack-cli": "^3.2.1",
143
    "webpack-stats-plugin": "^0.2.1",
144 145
    "worker-loader": "^2.0.0",
    "xterm": "^3.5.0"
146
  },
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
147
  "devDependencies": {
148
    "@babel/plugin-transform-modules-commonjs": "^7.2.0",
149
    "@gitlab/eslint-config": "^1.6.0",
150
    "@gitlab/eslint-plugin-i18n": "^1.1.0",
151
    "@vue/test-utils": "^1.0.0-beta.25",
152
    "axios-mock-adapter": "^1.15.0",
153
    "babel-jest": "^24.1.0",
154
    "babel-plugin-dynamic-import-node": "^2.2.0",
Mike Greiling's avatar
Mike Greiling committed
155
    "babel-plugin-istanbul": "^5.1.0",
156
    "babel-plugin-rewire": "^1.2.0",
157
    "chalk": "^2.4.1",
158
    "commander": "^2.18.0",
159
    "custom-jquery-matchers": "^2.1.0",
160
    "docdash": "^1.0.2",
161
    "eslint": "~5.9.0",
162
    "eslint-import-resolver-jest": "^2.1.1",
163
    "eslint-import-resolver-webpack": "^0.10.1",
164
    "eslint-plugin-html": "5.0.0",
Mike Greiling's avatar
Mike Greiling committed
165
    "eslint-plugin-import": "^2.14.0",
166
    "eslint-plugin-jasmine": "^2.10.1",
167
    "eslint-plugin-jest": "^22.3.0",
Tim Zallmann's avatar
Tim Zallmann committed
168 169
    "gettext-extractor": "^3.4.3",
    "gettext-extractor-vue": "^4.0.2",
170
    "graphql-tag": "^2.10.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-environment-jsdom": "^24.0.0",
176
    "jest-junit": "^6.3.0",
177
    "jest-util": "^24.0.0",
178 179
    "jsdoc": "^3.5.5",
    "jsdoc-vue": "^1.0.0",
180
    "karma": "^3.0.0",
181
    "karma-chrome-launcher": "^2.2.0",
Mike Greiling's avatar
Mike Greiling committed
182
    "karma-coverage-istanbul-reporter": "^2.0.4",
Mike Greiling's avatar
Mike Greiling committed
183
    "karma-jasmine": "^1.1.2",
184
    "karma-junit-reporter": "^1.2.0",
185
    "karma-mocha-reporter": "^2.2.5",
186
    "karma-sourcemap-loader": "^0.3.7",
Mike Greiling's avatar
Mike Greiling committed
187
    "karma-webpack": "^4.0.0-beta.0",
188
    "md5": "^2.2.1",
189
    "node-sass": "^4.12.0",
190
    "nodemon": "^1.18.9",
191
    "pixelmatch": "^4.0.2",
Tim Zallmann's avatar
Tim Zallmann committed
192
    "postcss": "^7.0.14",
193
    "prettier": "1.18.2",
Tim Zallmann's avatar
Tim Zallmann committed
194 195
    "stylelint": "^9.10.1",
    "stylelint-config-recommended": "^2.1.0",
196
    "stylelint-scss": "^3.5.4",
197
    "vue-jest": "^4.0.0-beta.2",
198
    "webpack-dev-server": "^3.1.14",
199
    "yarn-deduplicate": "^1.1.1"
200
  },
201 202 203
  "resolutions": {
    "vue-jest/ts-jest": "24.0.0"
  },
204
  "engines": {
205
    "node": ">=8.10.0",
206
    "yarn": "^1.10.0"
🕺 Winnie 🕺's avatar
🕺 Winnie 🕺 committed
207 208
  }
}