canvas-lms/package.json

337 lines
13 KiB
JSON

{
"name": "canvas-lms",
"license": "AGPL-3.0",
"version": "0.0.0",
"engines": {
"node": ">=10.16.0",
"yarn": "^1.6.0"
},
"private": true,
"workspaces": {
"packages": [
"gems/canvas_i18nliner",
"gems/plugins/*",
"packages/*",
"client_apps/*"
],
"nohoist": [
"canvas_quizzes/grunt*",
"canvas_quizzes/jasmine*"
]
},
"dependencies": {
"@instructure/canvas-rce-old": "4.1.5",
"@instructure/canvas-theme": "~6.24.0",
"@instructure/debounce": "~6.24.0",
"@instructure/js-utils": ">=1",
"@instructure/media-capture": "~7.1.0",
"@instructure/outcomes-ui": "^1.1.0",
"@instructure/react-crop": "^5.0.1",
"@instructure/reactour": "https://github.com/instructure/reactour#master",
"@instructure/ready": ">=1",
"@instructure/ui-a11y": "~6.24.0",
"@instructure/ui-alerts": "~6.24.0",
"@instructure/ui-avatar": "~6.24.0",
"@instructure/ui-billboard": "~6.24.0",
"@instructure/ui-breadcrumb": "~6.24.0",
"@instructure/ui-buttons": "~6.24.0",
"@instructure/ui-calendar": "~6.24.0",
"@instructure/ui-checkbox": "~6.24.0",
"@instructure/ui-core": "^5",
"@instructure/ui-date-input": "~6.24.0",
"@instructure/ui-decorator": "~6.24.0",
"@instructure/ui-editable": "~6.24.0",
"@instructure/ui-elements": "~6.24.0",
"@instructure/ui-file-drop": "~6.24.0",
"@instructure/ui-flex": "~6.24.0",
"@instructure/ui-focusable": "~6.24.0",
"@instructure/ui-form-field": "~6.24.0",
"@instructure/ui-forms": "~6.24.0",
"@instructure/ui-grid": "~6.24.0",
"@instructure/ui-heading": "~6.24.0",
"@instructure/ui-i18n": "~6.24.0",
"@instructure/ui-icons": "~6.24.0",
"@instructure/ui-img": "~6.24.0",
"@instructure/ui-layout": "~6.24.0",
"@instructure/ui-link": "~6.24.0",
"@instructure/ui-list": "~6.24.0",
"@instructure/ui-media-player": "^5.54.0",
"@instructure/ui-menu": "~6.24.0",
"@instructure/ui-modal": "~6.24.0",
"@instructure/ui-motion": "~6.24.0",
"@instructure/ui-number-input": "~6.24.0",
"@instructure/ui-overlays": "~6.24.0",
"@instructure/ui-pagination": "~6.24.0",
"@instructure/ui-portal": "~6.24.0",
"@instructure/ui-progress": "~6.24.0",
"@instructure/ui-radio-input": "~6.24.0",
"@instructure/ui-react-utils": "~6.24.0",
"@instructure/ui-responsive": "~6.24.0",
"@instructure/ui-select": "~6.24.0",
"@instructure/ui-spinner": "~6.24.0",
"@instructure/ui-svg-images": "~6.24.0",
"@instructure/ui-table": "~6.24.0",
"@instructure/ui-tabs": "~6.24.0",
"@instructure/ui-tag": "~6.24.0",
"@instructure/ui-text": "~6.24.0",
"@instructure/ui-text-area": "~6.24.0",
"@instructure/ui-text-input": "~6.24.0",
"@instructure/ui-themeable": "~6.24.0",
"@instructure/ui-themes": "~6.24.0",
"@instructure/ui-toggle-details": "~6.24.0",
"@instructure/ui-tree-browser": "~6.24.0",
"@instructure/ui-view": "~6.24.0",
"@instructure/uid": "~6.24.0",
"@microsoft/immersive-reader-sdk": "^0.0.3",
"apollo-cache": "^1.3.2",
"apollo-cache-inmemory": "^1.3.10",
"apollo-client": "^2.6.4",
"apollo-link": "^1.2.3",
"apollo-link-error": "^1.1.1",
"apollo-link-http": "^1.5.5",
"apollo-link-state": "^0.4.2",
"apollo-utilities": "^1.3.2",
"axios": "^0.19.0 || ^0.18.0",
"axios-cache-adapter": "^2.4.0",
"backbone": "1.1.1",
"big.js": "^5.0.3",
"brandable_css": "0.1.0",
"canvas-planner": ">=1.0.16",
"canvas_offline_course_viewer": "https://github.com/instructure/canvas_offline_course_viewer.git#1.2.0",
"classnames": "^2.2.5",
"color-slicer": "0.8.0",
"confetti-js": "^0.0.17",
"create-react-class": "^15.6.3",
"d3": "3.5.17",
"formdata-polyfill": "^3.0.9",
"fullcalendar": "https://github.com/instructure/fullcalendar.git#1108dd1c991a029ec6fd7de3337737ec5295ba97",
"graphiql": "^0.14.2",
"graphiql-explorer": "^0.4.2",
"graphql": "^14",
"graphql-tag": "^2.8.0",
"i18n-js": "^3",
"ic-ajax": "~2.0.1",
"ic-tabs": "0.1.3",
"immer": "^3",
"immutability-helper": "^3",
"immutable": "^3.8.2",
"is-valid-domain": "^0.0.11",
"jquery": "https://github.com/instructure/jquery.git#1.7.2-with-AMD-and-CommonJS",
"jquery-getscrollbarwidth": "^1.0.0",
"jquery-ui-touch-punch": "^0.2.3",
"jquery.cookie": "^1.4.1",
"jquery.elastic": "1.0.0",
"location-origin": "^1.1.4",
"lodash": "^4.16.4",
"md5": "^2.2.1",
"mediaelement": "https://github.com/instructure/mediaelement.git#master",
"moment": "^2.10.6",
"newless": "^0.3.0",
"normalize-scroll-left": "^0.2",
"page": "^1.11",
"parse-decimal-number": "1.0.0",
"parse-link-header": "^1",
"prop-types": "^15",
"qs": "^6.6.0",
"react": "^16.9.0",
"react-apollo": "^3.0.1",
"react-dnd": "^2.5.2",
"react-dnd-html5-backend": "^2.5.2",
"react-dom": "^16.9.0",
"react-immutable-proptypes": "^2.1.0",
"react-lazy-load": "^3.0.13",
"react-modal": "^3",
"react-redux": "^5.1.1",
"react-tokeninput": "^2.5.0",
"react-transition-group": "^1",
"redux": "^4.0.1",
"redux-actions": "^2.6.4",
"redux-thunk": "^2.3.0",
"shallow-equal": "^1.2.0",
"spin.js": "2.3.2",
"swfobject": "^2.2.1",
"tablesorter": "^2.28.5",
"timezone": "https://registry.npmjs.org/@brentburgoyne/timezone/-/timezone-1.0.24.tgz",
"tinycolor2": "1.4.1",
"tinymce-a11y-checker": "3.0.0-rc2",
"use-debounce": "^3",
"uuid": "^3.2.1"
},
"devDependencies": {
"@apollo/react-testing": "^3.0.1",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/parser": "^7",
"@babel/plugin-proposal-optional-chaining": "^7",
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"@instructure/browserslist-config-canvas-lms": ">=2",
"@instructure/ui-babel-preset": "~6.24.0",
"@prettier/plugin-ruby": "^0.15.0",
"@sentry/webpack-plugin": "^1.5.2",
"@sheerun/mutationobserver-shim": "0.3.2",
"@testing-library/dom": "^6",
"@testing-library/jest-dom": "^4",
"@testing-library/react": "^9",
"@testing-library/react-hooks": "^2.0.1",
"@types/react": ">=16.9.0",
"@yarnpkg/lockfile": "^1.0.2",
"array-flat-polyfill": "^1.0.1",
"axe-core": "~2.1.7",
"babel-eslint": "^10",
"babel-jest": "^24",
"babel-loader": "^8",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-transform-amd-to-commonjs": "^1.4.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4",
"clean-webpack-plugin": "^3",
"coffee-loader": "~0.7.2",
"coffee-script": "^1",
"concurrently": "^4",
"core-js-builder": "^3",
"css-loader": "^3",
"ember-template-compiler": "^1.8.0",
"enzyme": "^3",
"enzyme-adapter-react-16": "^1",
"enzyme-to-json": "^3.3.4",
"es-check": "^5",
"eslint": "^6",
"eslint-config-airbnb": "^18",
"eslint-config-prettier": "^6",
"eslint-plugin-eslint-comments": "^3.0.1",
"eslint-plugin-import": "^2",
"eslint-plugin-jest": "^22",
"eslint-plugin-jsx-a11y": "^6",
"eslint-plugin-lodash": "^6",
"eslint-plugin-notice": "^0.8",
"eslint-plugin-prettier": "^3",
"eslint-plugin-promise": "^4",
"eslint-plugin-qunit": "^4",
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^1",
"exports-loader": "^0.7",
"expose-loader": "^0.7",
"fetch-mock": "^7",
"file-loader": "^4",
"gglobby": "0.0.3",
"glob": "^7",
"graphql-tools": "^4",
"gulp": "^3",
"gulp-file": "^0.4",
"gulp-filter": "^5",
"gulp-insert": "^0.5",
"gulp-load-plugins": "^1",
"gulp-rename": "^1",
"gulp-rev": "^8",
"gulp-sourcemaps": "^2",
"gulp-uglify": "^3",
"handlebars": "1.3.0",
"imports-loader": "^0.8",
"istanbul-instrumenter-loader": "^3",
"istanbul-merge": "^1.1.1",
"jest": "^24",
"jest-canvas-mock": "^2",
"jest-config": "^24",
"jest-environment-jsdom-fourteen": "^0.1.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^7",
"jest-localstorage-mock": "^2",
"jest-moxios-utils": "^1",
"jest-raw-loader": "^1",
"json-loader": "^0.5.7",
"jsx-loader": "0.11.2",
"karma": "^3",
"karma-chrome-launcher": "^2",
"karma-coverage-istanbul-reporter": "^2",
"karma-firework-reporter": "~0.2.4",
"karma-junit-reporter": "^1",
"karma-qunit": "~1.2.1",
"karma-sourcemap-loader": "^0.3",
"karma-spec-reporter": "^0.0.32",
"karma-verbose-reporter": "^0.0.6",
"karma-webpack": "^3",
"lint-staged": "^9",
"merge-stream": "^1",
"mockdate": "^2.0.2",
"moment-timezone-data-webpack-plugin": "^1.0.3",
"moxios": "^0.4",
"nyc": "^13",
"prettier": "^1",
"qunitjs": "^1.14.0",
"raven-js": "^3.26.2",
"react-test-renderer": "^16",
"redux-logger": "^3.0.6",
"sass-direction": "^1",
"script-loader": "^0.7",
"sinon": "^7",
"style-loader": "^0.23",
"stylelint": "^10",
"through2": "^3",
"waait": "^1",
"webpack": "^4",
"webpack-cleanup-plugin": "^0.5",
"webpack-cli": "^3",
"webpack-manifest-plugin": "^2",
"webpack-stats-plugin": "^0.2.1",
"wsrun": "^5",
"xsslint": "instructure/xsslint#babel7",
"yaml-loader": "^0.5"
},
"optionalDependencies": {
"inspect-process": "^0.5"
},
"browserslist": [
"extends @instructure/browserslist-config-canvas-lms"
],
"jest-junit": {
"output": "./coverage-js/junit-reports/jest.xml"
},
"repository": "instructure/canvas-lms",
"scripts": {
"test": "yarn test:packages && if [[ \"$COVERAGE\" ]]; then yarn test:jest:coverage --runInBand; else yarn test:jest --runInBand; fi && if [[ \"$COVERAGE\" ]]; then yarn test:karma; else yarn test:karma:concurrently; fi",
"test:coverage": "script/generate_js_coverage",
"test:watch": "concurrently --names \"jest,karma\" \"jest --watch .\" \"yarn test:karma:watch\"",
"test:jest": "jest --color",
"test:jest:coverage": "NODE_OPTIONS=\"--max_old_space_size=8192\" jest --color --coverage",
"test:jest:debug": "inspect node_modules/.bin/jest --runInBand",
"test:karma": "yarn run test:karma:watch --single-run",
"test:karma:concurrently": "concurrently --names \"coffee,jsa,jsg,jsh\" \"JSPEC_GROUP=coffee yarn test:karma:headless\" \"JSPEC_GROUP=jsa yarn test:karma:headless\" \"JSPEC_GROUP=jsg yarn test:karma:headless\" \"JSPEC_GROUP=jsh yarn test:karma:headless\"",
"test:karma:headless": "yarn run test:karma --browsers ChromeHeadlessNoSandbox",
"test:karma:watch": "node --max-old-space-size=4096 ./node_modules/.bin/karma start",
"test:karma:watch:headless": "yarn run test:karma:watch --browsers ChromeHeadlessNoSandbox",
"test:packages": "if [[ \"$COVERAGE\" ]]; then yarn workspace-run-serial test:coverage; else yarn workspace-run-serial test; fi",
"build": "yarn run build:css && yarn run build:js",
"build:watch": "concurrently --raw \"yarn build:css:watch\" \"yarn build:js:watch\"",
"build:css": "brandable_css",
"build:css:watch": "brandable_css --watch",
"build:js": "yarn run webpack-development",
"build:js:watch": "yarn run webpack",
"build:packages": "yarn workspace-run-serial build:canvas",
"lint:browser-code": "es-check es8 ./public/dist/**/*.js",
"lint:staged": "lint-staged",
"lint:js:coffeescripts": "eslint ./app/coffeescripts/**/*.js",
"lint:js:jsx": "eslint ./app/jsx/**/*.js",
"lint:js:packages": "eslint ./packages/**/*.js",
"lint:style": "stylelint './app/**/*.{css,scss}' './packages/**/*.{css,scss}'",
"lint:xss": "node ./script/xsslint.js",
"postinstall": "yarn build:packages && ./script/install_hooks",
"webpack:analyze": "echo 'if you get any errors here, make sure you have ran `rake canvas:compile_assets` first' && NODE_ENV=production SKIP_SOURCEMAPS=1 node --max_old_space_size=8096 $(yarn bin)/webpack --json > stats-prod.json && NODE_OPTIONS=\"--max_old_space_size=8192\" npx webpack-bundle-analyzer stats-prod.json public/dist/webpack-production",
"webpack": "gulp rev 1> /dev/null & NODE_OPTIONS=\"--max_old_space_size=8192\" webpack --progress --color --watch",
"webpack-development": "gulp rev 1> /dev/null & NODE_OPTIONS=\"--max_old_space_size=8192\" webpack --color && yarn lint:browser-code",
"webpack-production": "NODE_ENV=production gulp rev && NODE_ENV=production NODE_OPTIONS=\"--max_old_space_size=8192\" webpack --color && yarn lint:browser-code",
"workspace-run": "r() { wsrun --fast-exit --exclude-missing --collect-logs --report -c $@; exit $?; } && r",
"workspace-run-serial": "r() { wsrun --fast-exit --exclude-missing --collect-logs --report --serial -c $@; exit $?; } && r",
"jspec": "./spec/jspec.sh",
"jspec-watch": "./spec/jspec.sh --watch",
"a11y-report": "./spec/jspec.sh --a11y",
"upgrade-and-dedupe": "rm -rf yarn.lock node_modules && yes 1 | yarn install --flat --production --ignore-scripts && git checkout package.json && yarn install && git add yarn.lock",
"upgrade-instructure-ui": "script/upgrade-instructure-ui"
},
"resolutions": {
"jquery": "https://github.com/instructure/jquery.git#1.7.2-with-AMD-and-CommonJS",
"graphael": "this is just here so yarn.lock looks the same whether the analytics plugin is checked out or not",
"graphael": "https://github.com/instructure/graphael.git",
"node-sass": "if we let node-sass upgrade to recent versions, it causes: SIS-3125",
"node-sass": "4.7.2"
}
}