mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 13:23:49 +08:00
a7b033d642
node-fetch is now a ES module, so it has to either imported with `import/from` syntax (which can't be used in addon's index.js) or using the dynamic `import()`
31 lines
695 B
JSON
31 lines
695 B
JSON
{
|
|
"name": "bootstrap-json",
|
|
"version": "1.0.0",
|
|
"description": "Express.js middleware that proxies ember cli requests and fetches bootstrap json",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"ember-addon": {
|
|
"before": [
|
|
"serve-files-middleware",
|
|
"history-support-middleware",
|
|
"proxy-server-middleware"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": "16.* || >= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
},
|
|
"dependencies": {
|
|
"clean-base-url": "^1.0.0",
|
|
"discourse-plugins": "1.0.0",
|
|
"express": "^4.18.2",
|
|
"html-entities": "^2.3.3",
|
|
"jsdom": "^20.0.2",
|
|
"node-fetch": "^3.3.0"
|
|
}
|
|
}
|