mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:03:39 +08:00
d8a0d2262c
We are still on a version of pretender since 2017 https://github.com/pretenderjs/pretender/releases/tag/v1.6.1 Since then many changes have been made, including adding support for xhr.upload. Upgrading will let us write proper acceptance tests for uppy, which uses XmlHTTPRequest internally including xhr.upload. Updates pretender to 3.4.7 and fake-xml-http-request to 2.1.2. Note: There have been no breaking changes in the releases that would affect us, mainly dropping support for old node versions.
73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"name": "discourse",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"repository": "git@github.com:discourse/discourse.git",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-free": "5.11.2",
|
|
"@highlightjs/cdn-assets": "^10.6.0",
|
|
"@json-editor/json-editor": "^2.5.2",
|
|
"@popperjs/core": "v2.0.6",
|
|
"@uppy/aws-s3": "^1.7.12",
|
|
"@uppy/aws-s3-multipart": "^1.8.18",
|
|
"@uppy/core": "^1.19.2",
|
|
"@uppy/drop-target": "^0.2.4",
|
|
"@uppy/xhr-upload": "^1.7.5",
|
|
"ace-builds": "1.4.12",
|
|
"blueimp-file-upload": "10.13.0",
|
|
"bootbox": "3.2.0",
|
|
"bootstrap": "v3.4.1",
|
|
"chart.js": "2.9.4",
|
|
"chartjs-plugin-datalabels": "^0.7.0",
|
|
"diffhtml": "^1.0.0-beta.18",
|
|
"eslint-config-discourse": "^1.1.8",
|
|
"handlebars": "^4.7.7",
|
|
"jquery": "3.5.1",
|
|
"jquery-color": "3.0.0-alpha.1",
|
|
"jquery-tags-input": "1.3.5",
|
|
"jquery.autoellipsis": "https://github.com/pvdspek/jquery.autoellipsis",
|
|
"magnific-popup": "1.1.0",
|
|
"markdown-it": "10.0.0",
|
|
"moment": "2.29.1",
|
|
"moment-timezone": "0.5.31",
|
|
"moment-timezone-names-translations": "https://github.com/discourse/moment-timezone-names-translations",
|
|
"mousetrap": "https://github.com/discourse/mousetrap#firefox-alt-key",
|
|
"pikaday": "1.8.0",
|
|
"resumablejs": "1.1.0",
|
|
"spectrum-colorpicker": "1.8.0",
|
|
"workbox-cacheable-response": "^4.3.1",
|
|
"workbox-core": "^4.3.1",
|
|
"workbox-expiration": "^4.3.1",
|
|
"workbox-routing": "^4.3.1",
|
|
"workbox-strategies": "^4.3.1",
|
|
"workbox-sw": "^4.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@arkweid/lefthook": "^0.7.2",
|
|
"@mixer/parallel-prettier": "^2.0.1",
|
|
"browserify": "^17.0.0",
|
|
"chrome-launcher": "^0.12.0",
|
|
"chrome-remote-interface": "^0.25",
|
|
"lodash-cli": "https://github.com/lodash-archive/lodash-cli.git",
|
|
"pretender": "^3.4.7",
|
|
"puppeteer": "1.20",
|
|
"qunit": "2.8.0",
|
|
"route-recognizer": "^0.3.3",
|
|
"sinon": "^9.0.2",
|
|
"squoosh": "discourse/squoosh#dc9649d"
|
|
},
|
|
"resolutions": {
|
|
"lodash": "4.17.21"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "yarn --cwd app/assets/javascripts/discourse"
|
|
},
|
|
"engines": {
|
|
"node": ">= 12.*",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
}
|
|
}
|