UNPKG

@hyper-fetch/core

Version:

Cache, Queue and Persist your requests no matter if you are online or offline!

82 lines (81 loc) 2.31 kB
{ "name": "@hyper-fetch/core", "version": "7.2.6", "description": "Cache, Queue and Persist your requests no matter if you are online or offline!", "author": "Maciej Pyrc <maciekpyrc@gmail.com>, Kacper Skawina <kacper.skawina@gmail.com>", "homepage": "https://hyperfetch.bettertyped.com/", "license": "Apache-2.0", "main": "dist/index.js", "module": "dist/index.js", "client": "dist/browser/index.js", "browser": "dist/browser/index.js", "server": "dist/server/index.js", "node": "dist/server/index.js", "types": "dist/index.d.ts", "source": "src/index.ts", "exports": { ".": { "types": { "import": "./dist/index.d.ts" }, "browser": { "require": "./dist/browser/index.js", "import": "./dist/browser/index.js" }, "default": { "require": "./dist/index.js", "import": "./dist/index.js" } }, "./package.json": "./package.json" }, "scripts": { "clean": "npx rimraf dist", "test": "jest --watchAll --maxWorkers=3 --forceExit", "test:pipeline": "jest --watchAll=false --maxWorkers=1 --no-cache --forceExit", "start": "yarn build && npx run-when-changed --watch 'src/**/*.ts' --exec 'yarn build'", "build": "yarn clean && node ../../scripts/build.js", "postbuild": "yarn rollup -c ../../rollup.config.js", "lint": "eslint . --fix", "format": "prettier --write .", "typescheck": "tsc --noEmit --emitDeclarationOnly false", "tests": "yarn lint-staged", "release": "yarn semantic-release --extends ./release.config.js -t 'hyper-fetch-v${version}'" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.com/" }, "repository": { "type": "git", "url": "git+https://github.com/BetterTyped/hyper-fetch.git", "directory": "packages/core" }, "bugs": { "url": "https://github.com/BetterTyped/hyper-fetch/issues" }, "dependencies": { "events": "^3.3.0" }, "devDependencies": { "abortcontroller-polyfill": "^1.7.5" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "yarn jest --passWithNoTests" ] }, "keywords": [ "fetch", "xhr", "requests", "js", "fetcher", "queue", "offline", "persist", "cache", "builder", "command" ] }