This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
node-fetch-cache/package.json
2022-02-19 08:55:21 -05:00

58 lines
1.4 KiB
JSON

{
"name": "node-fetch-cache",
"version": "3.0.4",
"description": "node-fetch with caching.",
"main": "src/index.js",
"type": "module",
"exports": {
"import": "./src/index.js",
"require": "./commonjs/wrapper.cjs"
},
"scripts": {
"buildcjs": "rollup src/index.js --file commonjs/index.cjs --format cjs",
"test": "npm run buildcjs && mocha --timeout 10000 --exit",
"coverage": "nyc --reporter=lcov --reporter=text npm test",
"lint": "./node_modules/.bin/eslint .",
"lintfix": "./node_modules/.bin/eslint . --fix",
"prepublishOnly": "npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mistval/node-fetch-cache.git"
},
"keywords": [
"node",
"fetch",
"node-fetch",
"cache",
"cached"
],
"author": "mistval",
"license": "MIT",
"bugs": {
"url": "https://github.com/mistval/node-fetch-cache/issues"
},
"homepage": "https://github.com/mistval/node-fetch-cache#readme",
"devDependencies": {
"eslint": "^8.9.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"form-data": "^3.0.0",
"husky": "^4.3.0",
"mocha": "^9.2.1",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.53.0"
},
"dependencies": {
"cacache": "^15.2.0",
"locko": "0.0.3",
"node-fetch": "2.6.7"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test"
}
}
}