287 lines
11 KiB
JSON
287 lines
11 KiB
JSON
{
|
|
"name": "canvas-lms",
|
|
"license": "AGPL-3.0",
|
|
"version": "0.0.0",
|
|
"engines": {
|
|
"node": ">=10.14.0",
|
|
"yarn": "^1.6.0"
|
|
},
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"gems/canvas_i18nliner",
|
|
"gems/selinimum",
|
|
"gems/plugins/*",
|
|
"packages/*",
|
|
"client_apps/*"
|
|
],
|
|
"nohoist": [
|
|
"canvas_quizzes/grunt*",
|
|
"canvas_quizzes/jasmine*"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@instructure/canvas-rce-old": "4.1.4",
|
|
"@instructure/media-capture": "^5",
|
|
"@instructure/react-crop": "^5.0.1",
|
|
"@instructure/ui-alerts": "^5",
|
|
"@instructure/ui-billboard": "^5",
|
|
"@instructure/ui-breadcrumb": "^5",
|
|
"@instructure/ui-buttons": "^5",
|
|
"@instructure/ui-core": "^5",
|
|
"@instructure/ui-editable": "^5",
|
|
"@instructure/ui-focusable": "^5",
|
|
"@instructure/ui-form-field": "^5",
|
|
"@instructure/ui-forms": "^5",
|
|
"@instructure/ui-icons": "^5",
|
|
"@instructure/ui-layout": "^5",
|
|
"@instructure/ui-media-player": "^5",
|
|
"@instructure/ui-menu": "^5",
|
|
"@instructure/ui-number-input": "^5",
|
|
"@instructure/ui-overlays": "^5",
|
|
"@instructure/ui-pagination": "^5",
|
|
"@instructure/ui-select": "^6.8.1",
|
|
"@instructure/ui-svg-images": "^5",
|
|
"@instructure/ui-table": "^5",
|
|
"@instructure/ui-tabs": "^5",
|
|
"@instructure/ui-text-input": "^6.8.1",
|
|
"@instructure/ui-themeable": "^5",
|
|
"@instructure/ui-themes": "^5",
|
|
"@instructure/ui-toggle-details": "^5",
|
|
"apollo-cache-inmemory": "^1.3.10",
|
|
"apollo-client": "~2.4.6",
|
|
"apollo-link": "^1.2.3",
|
|
"apollo-link-error": "^1.1.1",
|
|
"apollo-link-http": "^1.5.5",
|
|
"apollo-link-state": "^0.4.2",
|
|
"axios": "^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",
|
|
"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.11.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": "^2.0.0",
|
|
"immutability-helper": "^2",
|
|
"immutable": "^3.8.2",
|
|
"is-valid-domain": "^0.0.6",
|
|
"jquery": "https://github.com/ryankshaw/jquery.git#dadf794ebc4c4dcf94c344dab7d9341d46bc17cc",
|
|
"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.1.2",
|
|
"page": "visionmedia/page.js#1.6.4",
|
|
"parse-decimal-number": "1.0.0",
|
|
"parse-link-header": "^1",
|
|
"prop-types": "^15",
|
|
"qs": "^6.6.0",
|
|
"react": "^16.8.0",
|
|
"react-apollo": "^2.1.1",
|
|
"react-dnd": "^2.5.2",
|
|
"react-dnd-html5-backend": "^2.5.2",
|
|
"react-dom": "^16.6.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",
|
|
"spin.js": "2.3.2",
|
|
"swfobject": "^2.2.1",
|
|
"tablesorter": "^2.28.5",
|
|
"timezone": "^1.0.18",
|
|
"tinycolor2": "1.4.1",
|
|
"tinymce-a11y-checker": "^2",
|
|
"uuid": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
|
|
"@instructure/browserslist-config-canvas-lms": ">=2",
|
|
"@instructure/ui-babel-preset": "^6",
|
|
"@sentry/webpack-plugin": "^1.5.2",
|
|
"@sheerun/mutationobserver-shim": "0.3.2",
|
|
"@testing-library/dom": "^5",
|
|
"@testing-library/jest-dom": "^4",
|
|
"@testing-library/react": "^8.0.5",
|
|
"@yarnpkg/lockfile": "^1.0.2",
|
|
"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": "^2.0.1",
|
|
"coffee-loader": "~0.7.2",
|
|
"coffee-script": "^1",
|
|
"concurrently": "^4",
|
|
"core-js-builder": "^2",
|
|
"css-loader": "^1",
|
|
"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": "^3",
|
|
"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": "^1",
|
|
"jest-config": "^24",
|
|
"jest-environment-jsdom-fourteen": "^0.1.0",
|
|
"jest-fetch-mock": "^2.1.2",
|
|
"jest-junit": "^6",
|
|
"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": "^8.1.0",
|
|
"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",
|
|
"requirejs": "~2.2.0",
|
|
"sass-direction": "^1",
|
|
"script-loader": "^0.7",
|
|
"sinon": "^4",
|
|
"style-loader": "^0.23",
|
|
"stylelint": "^9",
|
|
"through2": "^2",
|
|
"waait": "^1",
|
|
"webpack": "^4",
|
|
"webpack-cleanup-plugin": "^0.5",
|
|
"webpack-cli": "^3",
|
|
"webpack-manifest-plugin": "^2",
|
|
"webpack-stats-plugin": "^0.2.1",
|
|
"wsrun": "^3.6.4",
|
|
"xsslint": "https://github.com/claydiffrient/xsslint.git#master",
|
|
"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": "concurrently --names \"packages,jest,karma\" \"yarn test:packages\" \"if [ \"$COVERAGE\" ]; then yarn test:jest:coverage --maxWorkers 1; else yarn test:jest --maxWorkers 1; 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 --max-old-space-size=4096 ./node_modules/.bin/jest --color --coverage",
|
|
"test:jest:debug": "inspect node_modules/.bin/jest --runInBand",
|
|
"test:karma": "yarn run test:karma:watch --single-run",
|
|
"test:karma:concurrently": "DISABLE_HAPPYPACK=1 concurrently --names \"coffee,js1,js2\" \"JSPEC_GROUP=coffee yarn test:karma:headless\" \"JSPEC_GROUP=js1 yarn test:karma:headless\" \"JSPEC_GROUP=js2 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 \"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 build:canvas",
|
|
"lint:browser-code": "es-check es8 ./public/dist/**/*.js",
|
|
"lint:staged": "lint-staged",
|
|
"postinstall": "yarn build:packages && ./script/install_hooks",
|
|
"webpack:analyze": "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/ryankshaw/jquery.git#dadf794ebc4c4dcf94c344dab7d9341d46bc17cc",
|
|
"canvas-quizzes/grunt-contrib-jasmine/jasmine-core": "2.6.4",
|
|
"graphael": "this is just here so yarn.lock looks the same whether the analytics plugin is checked out or not",
|
|
"graphael": "https://github.com/ryankshaw/graphael.git",
|
|
"node-sass": "if we let node-sass upgrade to recent versions, it causes: SIS-3125",
|
|
"node-sass": "4.7.2"
|
|
}
|
|
}
|