First working version.

This commit is contained in:
Shibo Lyu 2023-02-18 17:17:53 +00:00
commit 2b2d0e01e9
6 changed files with 2194 additions and 0 deletions

25
package.json Normal file
View file

@ -0,0 +1,25 @@
{
"name": "ghos3",
"version": "1.0.3",
"description": "S3 Storage adapter for Ghost.",
"main": "index.js",
"scripts": {
"build": "esbuild ./src/index.js --bundle --outfile=index.js --platform=node --format=cjs --target=node16 --packages=external --footer:js='module.exports = module.exports.default;'",
"prepublishOnly": "npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Shibo Lyu <github@of.sb>",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.272.0",
"ghost-storage-base": "^1.0.0"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/ghost-storage-base": "^0.0.1",
"esbuild": "^0.17.8",
"prettier": "^2.8.4",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
}
}