mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 06:33:55 +08:00
fe10a3feab
Parsing html, modifying it, and then serializing had some negative side-effects (namely, it was losing html entity escaping in some cases) Drops jsdom dependency
33 lines
707 B
JSON
33 lines
707 B
JSON
{
|
|
"name": "bootstrap-json",
|
|
"version": "1.0.0",
|
|
"description": "Express.js middleware which injects ember-cli asset URLs into Discourse's HTML",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"ember-addon": {
|
|
"before": [
|
|
"broccoli-serve-files",
|
|
"proxy-server-middleware"
|
|
],
|
|
"after": [
|
|
"broccoli-watcher"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"clean-base-url": "^1.0.0",
|
|
"express": "^4.18.2",
|
|
"glob": "^10.3.10",
|
|
"html-entities": "^2.4.0",
|
|
"html-rewriter-wasm": "^0.4.1",
|
|
"node-fetch": "^3.3.2"
|
|
},
|
|
"engines": {
|
|
"node": "16.* || >= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
}
|
|
}
|