discourse/app/assets/javascripts/discourse/package.json
David Taylor 0878dde213
DEV: Modernise highlightjs loading (#24197)
- Remove vendored copy
- Update Rails implementation to look for language definitions in node_modules
- Use webpack-based dynamic import for hljs core
- Use browser-native dynamic import for site-specific language bundle (and fallback to webpack-based dynamic import in tests)
- Simplify markdown implementation to allow all languages into the `lang-{blah}` className
- Now that all languages are passed through, resolve aliases at runtime to avoid the need for the pre-built `highlightjs-aliases` index
2023-11-10 20:39:48 +00:00

154 lines
4.7 KiB
JSON

{
"name": "discourse",
"version": "0.0.0",
"private": true,
"description": "A platform for community discussion. Free, open, simple.",
"license": "GPL-2.0-only",
"author": "Discourse",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember serve",
"test": "ember test",
"postinstall": "../run-patch-package"
},
"dependencies": {
"@glimmer/syntax": "^0.84.3",
"@highlightjs/cdn-assets": "^11.9.0",
"discourse-hbr": "1.0.0",
"discourse-widget-hbs": "1.0.0",
"ember-route-template": "^1.0.1",
"ember-source": "~3.28.12",
"handlebars": "^4.7.8",
"highlight.js": "^11.9.0",
"pretty-text": "1.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/standalone": "^7.23.3",
"@colors/colors": "^1.6.0",
"@discourse/backburner.js": "^2.7.1-0",
"@discourse/itsatrap": "^2.0.10",
"@ember-compat/tracked-built-ins": "^0.9.1",
"@ember/legacy-built-in-components": "^0.5.0",
"@ember/optional-features": "^2.0.0",
"@ember/render-modifiers": "^2.1.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^2.9.4",
"@embroider/compat": "^3.2.3",
"@embroider/core": "^3.3.0",
"@embroider/macros": "^1.13.1",
"@embroider/webpack": "^3.2.0",
"@floating-ui/dom": "^1.5.0",
"@glimmer/component": "^1.1.2",
"@glimmer/tracking": "^1.1.2",
"@popperjs/core": "^2.11.8",
"@types/ember": "^4.0.9",
"@types/ember-resolver": "^9.0.0",
"@types/ember__application": "^4.0.10",
"@types/ember__array": "^4.0.8",
"@types/ember__component": "^4.0.20",
"@types/ember__controller": "^4.0.10",
"@types/ember__debug": "^4.0.7",
"@types/ember__destroyable": "^4.0.4",
"@types/ember__engine": "^4.0.9",
"@types/ember__error": "^4.0.5",
"@types/ember__object": "^4.0.10",
"@types/ember__polyfills": "^4.0.5",
"@types/ember__routing": "^4.0.18",
"@types/ember__runloop": "^4.0.8",
"@types/ember__service": "^4.0.7",
"@types/ember__string": "^3.0.13",
"@types/ember__template": "^4.0.5",
"@types/ember__test": "^4.0.5",
"@types/ember__utils": "^4.0.6",
"@types/jquery": "^3.5.27",
"@types/qunit": "^2.19.8",
"@types/rsvp": "^4.0.7",
"@uppy/aws-s3": "3.0.6",
"@uppy/aws-s3-multipart": "3.1.3",
"@uppy/core": "3.0.4",
"@uppy/drop-target": "2.0.1",
"@uppy/utils": "5.4.3",
"@uppy/xhr-upload": "3.1.1",
"a11y-dialog": "8.0.4",
"admin": "1.0.0",
"babel-import-util": "^2.0.1",
"babel-plugin-ember-template-compilation": "^2.2.1",
"bootstrap": "3.4.1",
"bootstrap-json": "1.0.0",
"broccoli-asset-rev": "^3.0.0",
"deepmerge": "^4.3.1",
"deprecation-silencer": "1.0.0",
"dialog-holder": "1.0.0",
"discourse-common": "1.0.0",
"discourse-i18n": "1.0.0",
"discourse-markdown-it": "1.0.0",
"discourse-plugins": "1.0.0",
"ember-auto-import": "^2.6.3",
"ember-buffered-proxy": "^2.1.1",
"ember-cached-decorator-polyfill": "^1.0.2",
"ember-cli": "~5.0.0",
"ember-cli-app-version": "^6.0.1",
"ember-cli-babel": "^8.2.0",
"ember-cli-deprecation-workflow": "^2.2.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-progress-ci": "1.0.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-decorators": "^6.1.1",
"ember-exam": "^8.0.0",
"ember-functions-as-helper-polyfill": "^2.1.2",
"ember-load-initializers": "^2.1.1",
"ember-modifier": "^4.1.0",
"ember-on-resize-modifier": "^2.0.2",
"ember-production-deprecations": "1.0.0",
"ember-qunit": "^6.2.0",
"ember-router-service-refresh-polyfill": "^1.1.0",
"ember-template-imports": "^4.0.0",
"ember-test-selectors": "^6.0.0",
"float-kit": "1.0.0",
"html-entities": "^2.4.0",
"imports-loader": "^4.0.1",
"jquery": "^3.7.1",
"js-yaml": "^4.1.0",
"jsdom": "^22.1.0",
"loader.js": "^4.7.0",
"message-bus-client": "^4.3.8",
"messageformat": "0.1.5",
"pretender": "^3.4.7",
"qunit": "^2.20.0",
"qunit-dom": "^3.0.0",
"sass": "^1.69.5",
"select-kit": "1.0.0",
"sinon": "^17.0.1",
"source-map": "^0.7.4",
"terser": "^5.24.0",
"truth-helpers": "1.0.0",
"util": "^0.12.5",
"virtual-dom": "^2.1.1",
"webpack": "^5.89.0",
"webpack-stats-plugin": "^1.1.3",
"wizard": "1.0.0",
"workbox-cacheable-response": "^7.0.0",
"workbox-core": "^7.0.0",
"workbox-expiration": "^7.0.0",
"workbox-routing": "^7.0.0",
"workbox-strategies": "^7.0.0",
"workbox-sw": "^7.0.0",
"xss": "^1.0.14"
},
"engines": {
"node": "16.* || >= 18",
"npm": "please-use-yarn",
"yarn": ">= 1.21.1"
},
"ember": {
"edition": "octane"
}
}