62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"name": "@fascinated/node-fetch-cache",
|
|
"version": "3.1.3",
|
|
"description": "node-fetch with caching.",
|
|
"main": "src/index.js",
|
|
"type": "module",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"exports": {
|
|
"import": "./src/index.js",
|
|
"require": "./commonjs/wrapper.cjs"
|
|
},
|
|
"scripts": {
|
|
"buildcjs": "rollup src/index.js --file commonjs/index.cjs --format cjs",
|
|
"test": "npm run lintfix && npm run buildcjs && mocha --timeout 10000 --exit",
|
|
"coverage": "nyc --reporter=lcov --reporter=text npm test",
|
|
"lint": "eslint .",
|
|
"lintfix": "eslint . --fix",
|
|
"prepublishOnly": "npm test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.fascinated.cc/Fascinated/node-fetch-cache.git"
|
|
},
|
|
"keywords": [
|
|
"node",
|
|
"fetch",
|
|
"node-fetch",
|
|
"cache",
|
|
"cached"
|
|
],
|
|
"author": "mistval",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://git.fascinated.cc/Fascinated/node-fetch-cache/issues"
|
|
},
|
|
"homepage": "https://git.fascinated.cc/Fascinated/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": "^8.0.3",
|
|
"mocha": "^9.2.1",
|
|
"nyc": "^15.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.53.0"
|
|
},
|
|
"dependencies": {
|
|
"cacache": "^15.2.0",
|
|
"locko": "^1.0.0",
|
|
"node-fetch": "2.6.11"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint && npm test"
|
|
}
|
|
}
|
|
}
|