mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:33:39 +08:00
3140a4b2ce
Generally follows the same pattern as #22520 There are some changes here, notably it uses the addon's babel settings rather than the app's, and it goes through the same treatment as the rest of the addon code (which may include more than just babel). However, this probably brings us closer to the normal expectations you have around developing addon code, and in any case, does not seem to have any effect on the final output: ``` $ diff dist/assets/markdown-it-bundle.js /tmp/dist-before/assets/markdown-it-bundle.js ```
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "pretty-text",
|
|
"version": "1.0.0",
|
|
"description": "Discourse's text rendering pipeline",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"scripts": {
|
|
"build": "ember build",
|
|
"lint:hbs": "ember-template-lint .",
|
|
"lint:js": "eslint .",
|
|
"start": "ember serve"
|
|
},
|
|
"dependencies": {
|
|
"discourse-common": "1.0.0",
|
|
"ember-auto-import": "^2.6.3",
|
|
"ember-cli-babel": "^7.26.11",
|
|
"ember-cli-htmlbars": "^6.2.0",
|
|
"xss": "^1.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.8",
|
|
"@ember/optional-features": "^2.0.0",
|
|
"@ember/string": "^3.1.1",
|
|
"@embroider/test-setup": "^3.0.1",
|
|
"@glimmer/component": "^1.1.2",
|
|
"broccoli-asset-rev": "^3.0.0",
|
|
"ember-cli": "~5.0.0",
|
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
"ember-cli-sri": "^2.1.1",
|
|
"ember-cli-terser": "^4.0.2",
|
|
"ember-disable-prototype-extensions": "^1.1.3",
|
|
"ember-load-initializers": "^2.1.1",
|
|
"ember-resolver": "^10.1.1",
|
|
"ember-source": "~3.28.12",
|
|
"ember-source-channel-url": "^3.0.0",
|
|
"loader.js": "^4.7.0",
|
|
"markdown-it": "^13.0.1",
|
|
"webpack": "^5.88.1"
|
|
},
|
|
"engines": {
|
|
"node": "16.* || >= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
},
|
|
"ember": {
|
|
"edition": "default"
|
|
}
|
|
}
|