add boilerplate

This commit is contained in:
Randall Schmidt 2020-04-17 15:40:42 -04:00
parent a326f13ab9
commit 891444fe5e
4 changed files with 1717 additions and 0 deletions

19
.eslintrc.js Normal file

@ -0,0 +1,19 @@
module.exports = {
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": [
"airbnb-base"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
}
};

0
index.js Normal file

1666
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

32
package.json Normal file

@ -0,0 +1,32 @@
{
"name": "node-fetch-cache",
"version": "1.0.0",
"description": "node-fetch with a persistent cache.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "./node_modules/.bin/eslint ."
},
"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"
}
}