UNPKG

fetch-json

Version:

A wrapper around Fetch just for JSON

102 lines (101 loc) 2.69 kB
{ "name": "fetch-json", "description": "A wrapper around Fetch just for JSON", "version": "3.3.8", "license": "MIT", "type": "module", "module": "dist/fetch-json.js", "browser": "dist/fetch-json.min.js", "types": "dist/fetch-json.d.ts", "exports": "./dist/fetch-json.js", "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/center-key/fetch-json.git" }, "homepage": "https://fetch-json.js.org", "bugs": "https://github.com/center-key/fetch-json/issues", "docs": "https://github.com/center-key/fetch-json#readme", "keywords": [ "browser", "fetch", "fetch-json", "get", "http", "jamstack", "javascript", "json", "post", "rest", "typescript" ], "jshintConfig": { "esversion": 11, "strict": "implied", "eqeqeq": true, "nonbsp": false, "undef": true, "unused": true, "varstmt": true, "browser": true, "mocha": true, "node": true, "globals": { "fetch": true } }, "runScriptsConfig": { "clean": [ "rimraf build dist" ], "lint": [ "jshint . --exclude-path .gitignore", "eslint --max-warnings 0" ], "build": [ "tsc", "esm-to-plain-js --cd=build/src fetch-json.js fetch-json.dev.js", "uglifyjs build/src/fetch-json.dev.js --output build/src/fetch-json.min.js" ], "dist": [ "add-dist-header build/src dist" ] }, "scripts": { "pretest": "run-scripts clean lint build dist", "test": "mocha spec --timeout 7000", "posttest": "html-validator spec docs", "examples": "node docs/js/examples.js", "dev": "tsc && node docs/js/dev.js", "interactive": "http-server -o spec/fixtures/" }, "devDependencies": { "@eslint/js": "~9.39", "@fortawesome/fontawesome-free": "~7.1", "@types/node": "~24.10", "add-dist-header": "~1.6", "assert-deep-strict-equal": "~1.2", "copy-file-util": "~1.3", "copy-folder-util": "~1.2", "dna-engine": "~3.3", "eslint": "~9.39", "esm-to-plain-js": "~1.2", "http-server": "~14.1", "jsdom": "~27.2", "jshint": "~2.13", "mocha": "~11.7", "puppeteer": "~24.31", "puppeteer-browser-ready": "~1.4", "replacer-util": "~1.5", "rimraf": "~6.1", "run-scripts-util": "~1.3", "typescript": "~5.9", "typescript-eslint": "~8.48", "uglify-js": "~3.19", "w3c-html-validator": "~2.0", "web-ignition": "~2.4", "whatwg-fetch": "~3.6" } }