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.5", "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", "html-validator spec docs" ] }, "scripts": { "pretest": "run-scripts clean lint build dist", "test": "mocha spec/*.spec.js --timeout 7000", "examples": "node docs/js/examples.js", "dev": "tsc && node docs/js/dev.js", "interactive": "http-server -o spec/fixtures/" }, "devDependencies": { "@eslint/js": "~9.21", "@fortawesome/fontawesome-free": "~6.7", "@types/node": "~22.13", "add-dist-header": "~1.4", "assert-deep-strict-equal": "~1.2", "copy-file-util": "~1.2", "copy-folder-util": "~1.1", "dna-engine": "~3.2", "eslint": "~9.21", "esm-to-plain-js": "~1.1", "http-server": "~14.1", "jsdom": "~26.0", "jshint": "~2.13", "mocha": "~11.1", "puppeteer": "~24.3", "puppeteer-browser-ready": "~1.3", "replacer-util": "~1.3", "rimraf": "~6.0", "run-scripts-util": "~1.3", "typescript": "~5.8", "typescript-eslint": "~8.26", "uglify-js": "~3.19", "w3c-html-validator": "~1.8", "web-ignition": "~2.3", "whatwg-fetch": "~3.6" } }