discourse/package.json
Jarek Radosz cd4f251891
FEATURE: Poll breakdown 2.0 (#10345)
The poll breakdown modal replaces the grouped pie charts feature.

Includes:

* MODAL: Untangle `onSelectPanel`
Previously modal-tab component would call on click the onSelectPanel callback with itself (modal-tab) as `this` which severely limited its usefulness. Now showModal binds the callback to its controller.

"The PR includes a fix/change to d-modal (b7f6ec6) that hasn't been extracted to a separate PR because it's not currently possible to test a change like this in abstract, i.e. with dynamically created controllers/components in tests. The percentage/count toggle test for the poll breakdown feature is essentially a test for that d-modal modification."
2020-08-06 17:57:06 +02:00

61 lines
2.1 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",
"@popperjs/core": "v2.0.6",
"ace-builds": "1.4.2",
"blueimp-file-upload": "10.13.0",
"bootbox": "3.2.0",
"bootstrap": "v3.4.1",
"chart.js": "2.9.3",
"chartjs-plugin-datalabels": "^0.7.0",
"eslint-plugin-lodash": "^6.0.0",
"favcount": "https://github.com/chrishunt/favcount",
"handlebars": "^4.7.0",
"highlight.js": "https://github.com/highlightjs/highlight.js#d72f0817aaab8187711fca7c608f5272ea5147f6",
"intersection-observer": "^0.5.1",
"jquery": "3.5.0",
"jquery-color": "3.0.0-alpha.1",
"jquery-resize": "https://github.com/cowboy/jquery-resize/",
"jquery-tags-input": "1.3.5",
"jquery.autoellipsis": "https://github.com/pvdspek/jquery.autoellipsis",
"jquery.cookie": "1.4.1",
"magnific-popup": "1.1.0",
"markdown-it": "10.0.0",
"moment": "2.24.0",
"moment-timezone": "0.5.25",
"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-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.6.3",
"chrome-launcher": "^0.12.0",
"chrome-remote-interface": "^0.25",
"ember-template-lint": "^2.5.2",
"eslint-config-discourse": "latest",
"eslint-plugin-discourse-ember": "latest",
"lodash-cli": "https://github.com/lodash-archive/lodash-cli.git",
"pretender": "^1.6",
"puppeteer": "1.20",
"qunit": "2.8.0",
"route-recognizer": "^0.3.3",
"sinon": "^9.0.2"
},
"scripts": {
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('NPM is not supported, please use Yarn instead. ')\""
}
}