* create a blob backed up by filesystem * added code coverage test for filesystem blobs * updated readme for using filesystem * install peer dep * added from to files array in package.json
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "fetch-blob",
|
|
"version": "2.0.1",
|
|
"description": "A Blob implementation in Node.js, originally from node-fetch.",
|
|
"main": "index.js",
|
|
"files": [
|
|
"from.js",
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"lint": "xo",
|
|
"test": "xo && ava",
|
|
"report": "c8 --reporter json --reporter text ava",
|
|
"coverage": "c8 --reporter json --reporter text ava && codecov -f coverage/coverage-final.json",
|
|
"prepublishOnly": "tsc --declaration --emitDeclarationOnly --allowJs index.js"
|
|
},
|
|
"repository": "https://github.com/node-fetch/fetch-blob.git",
|
|
"keywords": [
|
|
"blob",
|
|
"node-fetch"
|
|
],
|
|
"engines": {
|
|
"node": "^10.17.0 || >=12.3.0"
|
|
},
|
|
"author": "David Frank",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/node-fetch/fetch-blob/issues"
|
|
},
|
|
"homepage": "https://github.com/node-fetch/fetch-blob#readme",
|
|
"devDependencies": {
|
|
"ava": "^3.8.2",
|
|
"c8": "^7.2.0",
|
|
"codecov": "^3.7.0",
|
|
"get-stream": "^5.1.0",
|
|
"node-fetch": "^2.6.0",
|
|
"typescript": "^3.9.5",
|
|
"xo": "^0.32.0"
|
|
},
|
|
"xo": {
|
|
"overrides": [
|
|
{
|
|
"files": "test.js",
|
|
"rules": {
|
|
"node/no-unsupported-features/es-syntax": 0,
|
|
"node/no-unsupported-features/node-builtins": 0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"domexception": "^2.0.1"
|
|
}
|
|
}
|