You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.0 KiB
74 lines
2.0 KiB
3 years ago
|
{
|
||
|
"name": "fastify-multer",
|
||
|
"description": "Fastify plugin for handling `multipart/form-data`.",
|
||
|
"version": "2.0.3",
|
||
|
"main": "lib/index.js",
|
||
|
"types": "lib/",
|
||
|
"contributors": [
|
||
|
"Maksim Sinik <maksim@sinik.it>",
|
||
|
"Hage Yaapa <captain@hacksparrow.com> (http://www.hacksparrow.com)",
|
||
|
"Jaret Pfluger <https://github.com/jpfluger>",
|
||
|
"Linus Unnebäck <linus@folkdatorn.se>"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"repository": "https://github.com/fox1t/fastify-multer",
|
||
|
"keywords": [
|
||
|
"form",
|
||
|
"post",
|
||
|
"multipart",
|
||
|
"form-data",
|
||
|
"formdata",
|
||
|
"fastify",
|
||
|
"middleware"
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"@fastify/busboy": "^1.0.0",
|
||
|
"append-field": "^1.0.0",
|
||
|
"concat-stream": "^2.0.0",
|
||
|
"fastify-plugin": "^2.0.1",
|
||
|
"mkdirp": "^1.0.4",
|
||
|
"on-finished": "^2.3.0",
|
||
|
"type-is": "~1.6.18",
|
||
|
"xtend": "^4.0.2"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/concat-stream": "^1.6.0",
|
||
|
"@types/mkdirp": "^1.0.2",
|
||
|
"@types/mocha": "~5.2.7",
|
||
|
"@types/node": "^12.7.8",
|
||
|
"@types/on-finished": "^2.3.1",
|
||
|
"@types/type-is": "^1.6.3",
|
||
|
"@types/xtend": "4.0.2",
|
||
|
"fastify": "^3.24.1",
|
||
|
"form-data": "^2.5.1",
|
||
|
"fs-temp": "^1.1.2",
|
||
|
"mocha": "^6.2.1",
|
||
|
"prettier": "~1.18.2",
|
||
|
"rimraf": "^3.0.0",
|
||
|
"testdata-w3c-json-form": "~1.0.0",
|
||
|
"ts-node": "^8.4.1",
|
||
|
"tslint": "^5.20.0",
|
||
|
"tslint-config-prettier": "^1.18.0",
|
||
|
"typescript": "^4.5.2"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=10.17.0"
|
||
|
},
|
||
|
"files": [
|
||
|
"lib/",
|
||
|
"src",
|
||
|
"typings/"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"prebuild": "npm run clean-build && npm run lint",
|
||
|
"build": "tsc -p ./tsconfig.json",
|
||
|
"clean-build": "rimraf ./lib && mkdir lib",
|
||
|
"prettier": "prettier --loglevel warn --write \"src/**/*.{ts,tsx}\"",
|
||
|
"prelint": "npm run prettier",
|
||
|
"lint": "tslint --fix -c tslint.json -t stylish -p ./tsconfig.json",
|
||
|
"update": "npx npm-check -u",
|
||
|
"prepublishOnly": "npm run build",
|
||
|
"test": "npm run build && mocha --require test/tshook.js ./test/*.ts"
|
||
|
}
|
||
|
}
|