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