2016-07-22 16:54:58 -04:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2019-09-03 10:06:57 -04:00
|
|
|
"check-dependencies": "scripts/frontend/check_dependencies.sh",
|
2020-03-02 13:07:42 -05:00
|
|
|
"block-dependencies": "node scripts/frontend/block_dependencies.js",
|
2018-05-29 12:40:18 -04:00
|
|
|
"clean": "rm -rf public/assets tmp/cache/*-loader",
|
2020-04-27 14:09:41 -04:00
|
|
|
"dev-server": "NODE_OPTIONS=\"--max-old-space-size=3584\" node scripts/frontend/webpack_dev_server.js",
|
2019-12-20 16:08:00 -05:00
|
|
|
"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 .",
|
2020-08-24 08:10:17 -04:00
|
|
|
"eslint-staged": "git diff --diff-filter=d --cached --name-only | grep -E \"(.*)\\.(js|vue)$\" | xargs eslint --cache --max-warnings 0 --report-unused-disable-directives",
|
|
|
|
"eslint-staged-fix": "git diff --diff-filter=d --cached --name-only | grep -E \"(.*)\\.(js|vue)$\" | xargs eslint --cache --max-warnings 0 --report-unused-disable-directives --fix",
|
2018-06-16 07:59:26 -04:00
|
|
|
"eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config .",
|
2019-08-08 03:31:43 -04:00
|
|
|
"file-coverage": "scripts/frontend/file_test_coverage.js",
|
2020-11-03 07:08:55 -05:00
|
|
|
"lint-docs": "scripts/lint-doc.sh",
|
2019-05-10 05:49:35 -04:00
|
|
|
"prejest": "yarn check-dependencies",
|
2020-05-20 17:09:09 -04:00
|
|
|
"jest": "jest --config jest.config.js",
|
2019-04-25 09:38:15 -04:00
|
|
|
"jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
2020-05-15 17:08:21 -04:00
|
|
|
"jest:integration": "jest --config jest.config.integration.js",
|
2019-01-14 16:46:21 -05:00
|
|
|
"jsdoc": "jsdoc -c config/jsdocs.config.js",
|
2019-05-10 05:49:35 -04:00
|
|
|
"prekarma": "yarn check-dependencies",
|
2018-04-23 01:55:29 -04:00
|
|
|
"karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
|
2018-04-10 05:54:36 -04:00
|
|
|
"karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
|
2018-04-19 17:14:24 -04:00
|
|
|
"karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
|
2020-11-03 07:08:55 -05:00
|
|
|
"markdownlint": "markdownlint --config .markdownlint.json",
|
2018-06-25 15:30:37 -04:00
|
|
|
"postinstall": "node ./scripts/frontend/postinstall.js",
|
2018-10-22 13:47:03 -04:00
|
|
|
"prettier-staged": "node ./scripts/frontend/prettier.js check",
|
2018-03-14 15:32:36 -04:00
|
|
|
"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",
|
2020-08-26 05:10:16 -04:00
|
|
|
"stylelint": "yarn stylelint-file 'app/assets/stylesheets/**/*.*' 'ee/app/assets/stylesheets/**/*.*' '!app/assets/stylesheets/startup/startup-*.scss' '!**/vendors/**'",
|
2020-01-15 04:08:50 -05:00
|
|
|
"stylelint-file": "BROWSERSLIST_IGNORE_OLD_DATA=true node node_modules/stylelint/bin/stylelint.js",
|
2019-03-26 04:13:21 -04:00
|
|
|
"stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
|
2019-04-02 04:27:38 -04:00
|
|
|
"webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js",
|
2019-12-17 04:07:48 -05:00
|
|
|
"webpack-vendor": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.vendor.config.js",
|
2019-08-23 15:57:21 -04:00
|
|
|
"webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
|
2016-07-22 16:54:58 -04:00
|
|
|
},
|
2016-10-18 18:46:48 -04:00
|
|
|
"dependencies": {
|
2020-06-12 02:09:11 -04:00
|
|
|
"@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",
|
2020-03-31 17:08:05 -04:00
|
|
|
"@gitlab/at.js": "1.5.5",
|
2021-01-08 04:10:50 -05:00
|
|
|
"@gitlab/favicon-overlay": "2.0.0",
|
2021-01-06 04:10:31 -05:00
|
|
|
"@gitlab/svgs": "1.178.0",
|
2020-12-15 13:10:06 -05:00
|
|
|
"@gitlab/tributejs": "1.0.0",
|
2021-01-11 13:10:43 -05:00
|
|
|
"@gitlab/ui": "25.7.3",
|
2020-04-16 05:09:37 -04:00
|
|
|
"@gitlab/visual-review-tools": "1.6.1",
|
2021-01-05 07:10:36 -05:00
|
|
|
"@rails/actioncable": "^6.0.3-4",
|
|
|
|
"@rails/ujs": "^6.0.3-4",
|
2020-11-17 22:09:21 -05:00
|
|
|
"@sourcegraph/code-host-integration": "0.0.52",
|
2020-11-30 10:09:21 -05:00
|
|
|
"@toast-ui/editor": "^2.5.1",
|
|
|
|
"@toast-ui/vue-editor": "^2.5.1",
|
2020-07-22 11:09:28 -04:00
|
|
|
"apollo-cache-inmemory": "^1.6.6",
|
|
|
|
"apollo-client": "^2.6.10",
|
|
|
|
"apollo-link": "^1.2.14",
|
|
|
|
"apollo-link-batch-http": "^1.2.14",
|
|
|
|
"apollo-upload-client": "^13.0.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"autosize": "^4.0.2",
|
2020-03-12 05:09:55 -04:00
|
|
|
"aws-sdk": "^2.637.0",
|
2020-09-02 14:10:40 -04:00
|
|
|
"axios": "^0.20.0",
|
2019-09-26 20:06:23 -04:00
|
|
|
"babel-loader": "^8.0.6",
|
2020-01-21 19:08:47 -05:00
|
|
|
"babel-plugin-lodash": "^3.3.4",
|
2020-06-04 20:08:38 -04:00
|
|
|
"bootstrap": "4.4.1",
|
2017-08-18 08:23:15 -04:00
|
|
|
"brace-expansion": "^1.1.8",
|
2019-09-26 20:06:23 -04:00
|
|
|
"cache-loader": "^4.1.0",
|
2017-11-28 16:16:49 -05:00
|
|
|
"clipboard": "^1.7.1",
|
2020-04-28 14:09:35 -04:00
|
|
|
"codemirror": "^5.48.4",
|
2020-03-12 17:09:45 -04:00
|
|
|
"codesandbox-api": "0.0.23",
|
2020-02-03 07:09:07 -05:00
|
|
|
"compression-webpack-plugin": "^3.0.1",
|
|
|
|
"copy-webpack-plugin": "^5.0.5",
|
2020-02-26 16:09:11 -05:00
|
|
|
"core-js": "^3.6.4",
|
2020-07-17 14:09:20 -04:00
|
|
|
"cron-validator": "^1.1.1",
|
2017-08-01 10:31:43 -04:00
|
|
|
"cropper": "^2.3.0",
|
2020-05-19 05:08:12 -04:00
|
|
|
"css-loader": "^2.1.1",
|
2020-05-29 14:08:26 -04:00
|
|
|
"d3": "^5.16.0",
|
2020-05-22 11:08:09 -04:00
|
|
|
"d3-sankey": "^0.12.3",
|
2020-03-19 17:09:17 -04:00
|
|
|
"d3-scale": "^2.2.2",
|
2017-11-23 17:39:29 -05:00
|
|
|
"d3-selection": "^1.2.0",
|
2018-07-02 03:46:40 -04:00
|
|
|
"dateformat": "^3.0.3",
|
2019-12-21 10:07:56 -05:00
|
|
|
"deckar01-task_list": "^2.3.1",
|
2017-11-22 04:08:30 -05:00
|
|
|
"diff": "^3.4.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"document-register-element": "1.14.3",
|
2020-12-21 07:10:22 -05:00
|
|
|
"dompurify": "^2.2.6",
|
2017-02-16 15:24:45 -05:00
|
|
|
"dropzone": "^4.2.0",
|
2020-06-10 14:09:15 -04:00
|
|
|
"editorconfig": "^0.15.3",
|
2019-02-01 11:24:11 -05:00
|
|
|
"emoji-regex": "^7.0.3",
|
2017-02-27 23:44:34 -05:00
|
|
|
"emoji-unicode-version": "^0.2.1",
|
2018-02-20 15:24:45 -05:00
|
|
|
"exports-loader": "^0.7.0",
|
2021-01-05 07:10:36 -05:00
|
|
|
"fast-mersenne-twister": "1.0.2",
|
2020-03-09 20:08:12 -04:00
|
|
|
"file-loader": "^5.1.0",
|
2020-07-29 02:09:49 -04:00
|
|
|
"font-awesome": "4.7.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"fuzzaldrin-plus": "^0.6.0",
|
|
|
|
"glob": "^7.1.6",
|
2020-11-10 07:08:57 -05:00
|
|
|
"graphql": "^15.4.0",
|
|
|
|
"graphql-tag": "^2.11.0",
|
2020-08-25 08:04:30 -04:00
|
|
|
"immer": "^7.0.7",
|
2018-02-20 15:24:45 -05:00
|
|
|
"imports-loader": "^0.8.0",
|
2020-07-09 14:10:09 -04:00
|
|
|
"ipaddr.js": "^1.9.1",
|
2017-04-15 11:07:31 -04:00
|
|
|
"jed": "^1.1.1",
|
2019-02-26 07:26:15 -05:00
|
|
|
"jest-transform-graphql": "^2.1.0",
|
2020-08-28 11:10:21 -04:00
|
|
|
"jquery": "^3.5.0",
|
2019-03-13 10:02:19 -04:00
|
|
|
"jquery.caret": "^0.3.1",
|
2018-02-08 10:52:38 -05:00
|
|
|
"jquery.waitforimages": "^2.2.0",
|
2020-03-09 05:07:45 -04:00
|
|
|
"js-cookie": "^2.2.1",
|
2020-07-07 11:08:49 -04:00
|
|
|
"js-yaml": "^3.13.1",
|
2017-03-29 01:16:59 -04:00
|
|
|
"jszip": "^3.1.3",
|
|
|
|
"jszip-utils": "^0.0.2",
|
2019-01-17 21:52:11 -05:00
|
|
|
"katex": "^0.10.0",
|
2020-09-02 02:10:47 -04:00
|
|
|
"lodash": "^4.17.20",
|
2018-01-15 18:20:03 -05:00
|
|
|
"marked": "^0.3.12",
|
2021-01-04 07:10:44 -05:00
|
|
|
"mathjax": "3",
|
2020-06-11 08:08:54 -04:00
|
|
|
"mermaid": "^8.5.2",
|
2020-06-10 14:09:15 -04:00
|
|
|
"minimatch": "^3.0.4",
|
2020-08-06 17:10:15 -04:00
|
|
|
"miragejs": "^0.1.40",
|
2020-12-08 10:09:45 -05:00
|
|
|
"mock-apollo-client": "^0.5.0",
|
2020-07-07 11:08:49 -04:00
|
|
|
"monaco-editor": "^0.20.0",
|
|
|
|
"monaco-editor-webpack-plugin": "^1.9.0",
|
2020-10-29 14:09:11 -04:00
|
|
|
"monaco-yaml": "^2.5.1",
|
2020-09-03 17:08:18 -04:00
|
|
|
"mousetrap": "1.6.5",
|
2019-05-06 19:37:13 -04:00
|
|
|
"pdfjs-dist": "^2.0.943",
|
2019-08-02 15:06:51 -04:00
|
|
|
"pikaday": "^1.8.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"popper.js": "^1.16.1",
|
2020-08-21 02:10:27 -04:00
|
|
|
"prismjs": "^1.21.0",
|
2019-01-23 06:10:57 -05:00
|
|
|
"prosemirror-markdown": "^1.3.0",
|
|
|
|
"prosemirror-model": "^1.6.4",
|
2017-03-03 18:41:00 -05:00
|
|
|
"raphael": "^2.2.7",
|
2020-03-09 20:08:12 -04:00
|
|
|
"raw-loader": "^4.0.0",
|
2016-10-28 04:22:02 -04:00
|
|
|
"select2": "3.5.2-browserify",
|
2020-03-12 17:09:45 -04:00
|
|
|
"smooshpack": "^0.0.62",
|
2020-03-09 20:08:12 -04:00
|
|
|
"sortablejs": "^1.10.2",
|
2017-04-08 00:18:37 -04:00
|
|
|
"sql.js": "^0.4.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"stickyfilljs": "^2.1.0",
|
2020-06-04 17:08:11 -04:00
|
|
|
"string-hash": "1.1.3",
|
2020-12-17 19:10:04 -05:00
|
|
|
"style-loader": "^1.3.0",
|
2020-08-24 11:10:11 -04:00
|
|
|
"swagger-ui-dist": "^3.32.4",
|
2017-04-06 06:02:24 -04:00
|
|
|
"three": "^0.84.0",
|
|
|
|
"three-orbit-controls": "^82.1.0",
|
|
|
|
"three-stl-loader": "^1.0.4",
|
2020-03-09 20:08:12 -04:00
|
|
|
"timeago.js": "^4.0.2",
|
2019-01-23 06:10:57 -05:00
|
|
|
"tiptap": "^1.8.0",
|
|
|
|
"tiptap-commands": "^1.4.0",
|
|
|
|
"tiptap-extensions": "^1.8.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"url-loader": "^3.0.0",
|
2020-06-04 17:08:11 -04:00
|
|
|
"uuid": "8.1.0",
|
2017-03-23 07:10:31 -04:00
|
|
|
"visibilityjs": "^1.2.4",
|
2020-09-22 08:09:39 -04:00
|
|
|
"vue": "^2.6.12",
|
2020-04-23 02:09:28 -04:00
|
|
|
"vue-apollo": "^3.0.3",
|
2021-01-04 16:10:19 -05:00
|
|
|
"vue-loader": "^15.9.6",
|
2020-12-08 22:09:24 -05:00
|
|
|
"vue-router": "3.4.9",
|
2020-09-22 08:09:39 -04:00
|
|
|
"vue-template-compiler": "^2.6.12",
|
2019-12-19 04:07:39 -05:00
|
|
|
"vue-virtual-scroll-list": "^1.4.4",
|
2019-09-17 10:16:34 -04:00
|
|
|
"vuedraggable": "^2.23.0",
|
2020-12-08 22:09:24 -05:00
|
|
|
"vuex": "^3.6.0",
|
2020-09-16 08:10:15 -04:00
|
|
|
"web-vitals": "^0.2.4",
|
2020-03-09 20:08:12 -04:00
|
|
|
"webpack": "^4.42.0",
|
|
|
|
"webpack-bundle-analyzer": "^3.6.0",
|
|
|
|
"webpack-cli": "^3.3.11",
|
|
|
|
"webpack-stats-plugin": "^0.3.1",
|
2018-07-12 06:44:09 -04:00
|
|
|
"worker-loader": "^2.0.0",
|
2020-07-01 17:08:51 -04:00
|
|
|
"xterm": "3.14.5"
|
2016-10-18 18:46:48 -04:00
|
|
|
},
|
2016-07-22 16:54:58 -04:00
|
|
|
"devDependencies": {
|
2020-06-12 02:09:11 -04:00
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.10.1",
|
2021-01-11 04:10:46 -05:00
|
|
|
"@gitlab/eslint-plugin": "^6.0.0",
|
2020-06-22 11:09:27 -04:00
|
|
|
"@testing-library/dom": "^7.16.2",
|
2020-12-25 13:10:00 -05:00
|
|
|
"@vue/test-utils": "1.1.2",
|
2020-06-19 11:08:39 -04:00
|
|
|
"acorn": "^6.3.0",
|
2018-05-09 13:57:01 -04:00
|
|
|
"axios-mock-adapter": "^1.15.0",
|
2020-10-07 17:08:21 -04:00
|
|
|
"babel-jest": "^26.5.2",
|
|
|
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
|
|
"babel-plugin-istanbul": "^6.0.0",
|
2018-05-01 13:40:35 -04:00
|
|
|
"chalk": "^2.4.1",
|
2018-09-19 17:13:47 -04:00
|
|
|
"commander": "^2.18.0",
|
2019-04-01 14:55:57 -04:00
|
|
|
"custom-jquery-matchers": "^2.1.0",
|
2019-01-14 16:46:21 -05:00
|
|
|
"docdash": "^1.0.2",
|
2020-02-18 04:09:24 -05:00
|
|
|
"eslint": "^6.8.0",
|
2020-02-06 01:08:52 -05:00
|
|
|
"eslint-import-resolver-jest": "^2.1.1",
|
2020-02-18 04:09:24 -05:00
|
|
|
"eslint-import-resolver-webpack": "^0.12.1",
|
|
|
|
"eslint-plugin-jasmine": "^4.1.0",
|
2019-12-16 16:08:00 -05:00
|
|
|
"eslint-plugin-no-jquery": "^2.3.0",
|
2019-03-27 17:33:20 -04:00
|
|
|
"gettext-extractor": "^3.4.3",
|
|
|
|
"gettext-extractor-vue": "^4.0.2",
|
2020-02-26 04:08:47 -05:00
|
|
|
"istanbul-lib-coverage": "^3.0.0",
|
|
|
|
"istanbul-lib-report": "^3.0.0",
|
|
|
|
"istanbul-reports": "^3.0.0",
|
2018-01-23 10:19:56 -05:00
|
|
|
"jasmine-core": "^2.9.0",
|
2018-07-09 17:31:33 -04:00
|
|
|
"jasmine-diff": "^0.1.3",
|
2016-12-29 16:42:48 -05:00
|
|
|
"jasmine-jquery": "^2.1.1",
|
2020-10-07 17:08:21 -04:00
|
|
|
"jest": "^26.5.2",
|
2019-11-05 04:21:54 -05:00
|
|
|
"jest-canvas-mock": "^2.1.2",
|
2020-10-07 17:08:21 -04:00
|
|
|
"jest-environment-jsdom": "^26.5.2",
|
|
|
|
"jest-junit": "^12.0.0",
|
2020-11-25 01:09:20 -05:00
|
|
|
"jest-raw-loader": "^1.0.1",
|
2020-10-07 17:08:21 -04:00
|
|
|
"jest-util": "^26.5.2",
|
2019-01-14 16:46:21 -05:00
|
|
|
"jsdoc": "^3.5.5",
|
|
|
|
"jsdoc-vue": "^1.0.0",
|
2019-08-05 19:09:10 -04:00
|
|
|
"karma": "^4.2.0",
|
|
|
|
"karma-chrome-launcher": "^3.0.0",
|
|
|
|
"karma-coverage-istanbul-reporter": "^2.1.0",
|
2018-07-13 17:46:32 -04:00
|
|
|
"karma-jasmine": "^1.1.2",
|
2018-09-11 17:03:05 -04:00
|
|
|
"karma-junit-reporter": "^1.2.0",
|
2018-01-18 16:07:36 -05:00
|
|
|
"karma-mocha-reporter": "^2.2.5",
|
2017-01-07 02:36:19 -05:00
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
2019-08-05 19:09:10 -04:00
|
|
|
"karma-webpack": "^4.0.2",
|
2020-11-03 13:09:22 -05:00
|
|
|
"markdownlint-cli": "0.24.0",
|
2019-03-26 04:13:21 -04:00
|
|
|
"md5": "^2.2.1",
|
2020-10-01 08:10:14 -04:00
|
|
|
"node-sass": "^4.14.1",
|
2020-06-01 17:08:09 -04:00
|
|
|
"nodemon": "^2.0.4",
|
2018-10-30 07:46:44 -04:00
|
|
|
"pixelmatch": "^4.0.2",
|
2019-02-14 08:40:42 -05:00
|
|
|
"postcss": "^7.0.14",
|
2020-12-23 07:10:26 -05:00
|
|
|
"prettier": "2.2.1",
|
2019-07-17 13:47:39 -04:00
|
|
|
"readdir-enhanced": "^2.2.4",
|
2019-07-23 04:56:34 -04:00
|
|
|
"stylelint": "^10.1.0",
|
|
|
|
"stylelint-config-recommended": "^2.2.0",
|
|
|
|
"stylelint-scss": "^3.9.2",
|
2019-09-06 08:01:32 -04:00
|
|
|
"timezone-mock": "^1.0.8",
|
2020-10-07 17:08:21 -04:00
|
|
|
"vue-jest": "4.0.0-rc.0",
|
2020-03-09 20:08:12 -04:00
|
|
|
"webpack-dev-server": "^3.10.3",
|
2020-06-15 08:08:44 -04:00
|
|
|
"xhr-mock": "^2.5.1",
|
2020-02-16 22:09:00 -05:00
|
|
|
"yarn-check-webpack-plugin": "^1.2.0",
|
2019-03-07 12:53:17 -05:00
|
|
|
"yarn-deduplicate": "^1.1.1"
|
2018-12-06 03:17:36 -05:00
|
|
|
},
|
2020-03-02 13:07:42 -05:00
|
|
|
"blockedDependencies": {
|
2020-06-19 14:08:39 -04:00
|
|
|
"bootstrap-vue": "https://docs.gitlab.com/ee/development/fe_guide/dependencies.html#bootstrapvue"
|
2020-03-02 13:07:42 -05:00
|
|
|
},
|
2019-02-28 06:34:47 -05:00
|
|
|
"resolutions": {
|
2020-06-01 17:08:09 -04:00
|
|
|
"chokidar": "^3.4.0",
|
2020-10-07 17:08:21 -04:00
|
|
|
"monaco-editor": "0.20.0"
|
2019-02-28 06:34:47 -05:00
|
|
|
},
|
2018-12-06 03:17:36 -05:00
|
|
|
"engines": {
|
2020-03-09 20:08:12 -04:00
|
|
|
"node": ">=10.13.0",
|
2018-12-06 03:17:36 -05:00
|
|
|
"yarn": "^1.10.0"
|
2016-07-22 16:54:58 -04:00
|
|
|
}
|
2020-05-06 11:09:42 -04:00
|
|
|
}
|