58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "node-fetch-cache",
|
|
"version": "2.0.3",
|
|
"description": "node-fetch with a persistent cache.",
|
|
"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": "^6.8.0",
|
|
"eslint-config-airbnb-base": "^14.1.0",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"form-data": "^3.0.0",
|
|
"husky": "^4.3.0",
|
|
"mocha": "^8.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.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint && npm test"
|
|
}
|
|
}
|
|
}
|