UNPKG

multer-sharp-s3

Version:

A plugin multer to transform image and upload to AWS S3

100 lines (99 loc) 2.66 kB
{ "name": "multer-sharp-s3", "version": "0.2.5", "description": "A plugin multer to transform image and upload to AWS S3", "main": "index.js", "scripts": { "lint": "tslint -c tslint.json 'src/**/*.ts' '__tests__/**/*.ts'", "pretest": "npm run lint", "test": "jest --detectOpenHandles --runInBand --ci --coverage", "prebuild": "shx rm -rf dist", "build": "tsc -w false", "postbuild": "node scripts/copy.js", "format": "prettier --config prettier.config.js \"**/*.{ts,tsx,js,jsx,md}\"", "report-coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/codecov", "release": "npm run build && git add dist/ && standard-version -a", "postrelease": "npm run release:github && npm run release:npm", "release:github": "git push --no-verify --follow-tags origin master", "release:npm": "npm publish", "dry": "npm run build && standard-version -a --dry-run" }, "repository": { "type": "git", "url": "git+https://github.com/ikhsanalatsary/multer-sharp-s3.git" }, "author": "Abdul Fattah Ikhsan <ikhsannetwork@gmail.com> (http://ikhsannetwork.com/)", "license": "MIT", "bugs": { "url": "https://github.com/ikhsanalatsary/multer-sharp-s3/issues" }, "homepage": "https://github.com/ikhsanalatsary/multer-sharp-s3#readme", "files": [ "LICENSE", "README.md", "dist/", "index.js", "index.d.ts", "yarn.lock" ], "keywords": [ "multer", "sharp", "image", "resize", "imageprocessing", "aws", "aws-sdk", "aws-s3", "s3", "storage engine", "storage", "form", "post", "multipart", "form-data", "formdata", "express", "middleware" ], "devDependencies": { "@types/core-js": "^2.5.0", "@types/express": "^4.16.1", "@types/jest": "^24.0.12", "@types/mime-types": "^2.1.0", "@types/multer": "^1.4.3", "@types/sharp": "^0.29.5", "@types/supertest": "^2.0.7", "aws-sdk": "^2.445.0", "codecov": "^3.7.0", "express": "^4.16.4", "jest": "^24.0.12", "multer": "^1.4.1", "prettier": "^1.17.0", "shx": "0.3.4", "standard-version": "^8.0.0", "supertest": "^4.0.2", "ts-jest": "^24.0.2", "ts-lint": "^4.5.1", "typescript": "3.4.5" }, "dependencies": { "mime-types": "2.1.24", "rxjs": "6.5.1", "sharp": "^0.30.0" }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "/__tests__/.*\\.(ts|tsx|js)$", "verbose": true, "notify": false, "bail": false } }