UNPKG

piral-fetch

Version:

Plugin for standardizing fetch in Piral.

62 lines (61 loc) 1.59 kB
{ "name": "piral-fetch", "version": "1.8.5", "description": "Plugin for standardizing fetch in Piral.", "keywords": [ "piral", "pilet-api", "smapiot", "portal", "modules", "api", "fetch", "plugin", "plugin-network", "spa" ], "author": "smapiot", "homepage": "https://piral.io", "license": "MIT", "module": "lib/index.js", "main": "lib/index.js", "typings": "lib/index.d.ts", "exports": { ".": "./lib/index.js", "./lib/*": { "import": "./lib/*", "types": "./lib/*.d.ts" }, "./package.json": "./package.json" }, "sideEffects": false, "files": [ "lib", "src", "piral-fetch.min.js" ], "repository": { "type": "git", "url": "https://github.com/smapiot/piral.git" }, "bugs": { "url": "https://github.com/smapiot/piral/issues" }, "scripts": { "cleanup": "rimraf esm lib piral-fetch.min.js", "build": "yarn build:bundle && yarn build:esnext", "build:bundle": "esbuild src/index.ts --outfile=piral-fetch.min.js --bundle --external:piral-core --minify --global-name=piralFetch", "build:esnext": "tsc --project tsconfig.json --outDir lib --module esnext", "typedoc": "typedoc --json ../../../docs/types/piral-fetch.json src --exclude \"src/**/*.test.*\"", "test": "echo \"Error: run tests from root\" && exit 1" }, "devDependencies": { "@types/cors": "^2", "@types/express": "^4", "cors": "^2", "express": "^4", "piral-core": "^1.8.5", "whatwg-fetch": "^3" }, "gitHead": "b100b985954384a8e4e874769fe449a66bc7d94d" }