This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
339 lines (339 loc) · 13.1 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
{
"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",
"@instructure/debounce": "6",
"@instructure/js-utils": ">=1",
"@instructure/media-capture": "~7.1.0",
"@instructure/outcomes-ui": "^1.1.6",
"@instructure/react-crop": "^5.0.1",
"@instructure/reactour": "https://github.com/instructure/reactour#master",
"@instructure/ready": ">=1",
"@instructure/ui-a11y": "6",
"@instructure/ui-alerts": "6",
"@instructure/ui-avatar": "6",
"@instructure/ui-billboard": "6",
"@instructure/ui-breadcrumb": "6",
"@instructure/ui-buttons": "6",
"@instructure/ui-calendar": "6",
"@instructure/ui-checkbox": "6",
"@instructure/ui-core": "^5",
"@instructure/ui-date-input": "6",
"@instructure/ui-decorator": "6",
"@instructure/ui-editable": "6",
"@instructure/ui-elements": "6",
"@instructure/ui-file-drop": "6",
"@instructure/ui-flex": "6",
"@instructure/ui-focusable": "6",
"@instructure/ui-form-field": "6",
"@instructure/ui-forms": "6",
"@instructure/ui-grid": "6",
"@instructure/ui-heading": "6",
"@instructure/ui-i18n": "6",
"@instructure/ui-icons": "6",
"@instructure/ui-img": "6",
"@instructure/ui-layout": "6",
"@instructure/ui-link": "6",
"@instructure/ui-list": "6",
"@instructure/ui-media-player": "^5.54.0",
"@instructure/ui-menu": "6",
"@instructure/ui-modal": "6",
"@instructure/ui-motion": "6",
"@instructure/ui-number-input": "6",
"@instructure/ui-overlays": "6",
"@instructure/ui-pagination": "6",
"@instructure/ui-portal": "6",
"@instructure/ui-progress": "6",
"@instructure/ui-radio-input": "6",
"@instructure/ui-react-utils": "6",
"@instructure/ui-responsive": "6",
"@instructure/ui-select": "6",
"@instructure/ui-spinner": "6",
"@instructure/ui-svg-images": "6",
"@instructure/ui-table": "6",
"@instructure/ui-tabs": "6",
"@instructure/ui-tag": "6",
"@instructure/ui-text": "6",
"@instructure/ui-text-area": "6",
"@instructure/ui-text-input": "6",
"@instructure/ui-themeable": "6",
"@instructure/ui-themes": "6",
"@instructure/ui-toggle-details": "6",
"@instructure/ui-tree-browser": "6",
"@instructure/ui-view": "6",
"@instructure/uid": "6",
"@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_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",
"use-media-set": "^1.1",
"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",
"@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-babel": "^5",
"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": "node --inspect-brk 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",
"dedupe-yarn": "npx yarn-deduplicate",
"clean": "yarn workspace-run-serial clean"
},
"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"
}
}