{ "name": "fetch-json", "description": "A wrapper around Fetch just for JSON", "version": "3.3.9", "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 docs" ], "lint": [ "jshint . --exclude-path .gitignore", "eslint --max-warnings 0" ], "build": [ "tsc", "esm-to-plain-js build/fetch-json.js build/fetch-json.dev.js", "uglifyjs build/fetch-json.dev.js --output build/fetch-json.min.js" ], "dist": [ "add-dist-header build dist" ], "publish": [ "copy-folder src/website --ext=.png docs", "replacer src/website docs", "replacer --virtual-input . --rename=robots.txt docs --content=#{{space}}Allow{{space}}bots", "replacer --virtual-input . --rename=CNAME docs --content=fetch-json.js.org" ] }, "scripts": { "pretest": "run-scripts clean lint build dist publish", "test": "mocha spec --timeout 7000", "posttest": "html-validator spec docs", "examples": "node src/demos/examples.js", "dev": "tsc && node src/demos/dev.js", "interactive": "http-server -o spec/fixtures/" }, "devDependencies": { "@eslint/js": "~10.0", "@fortawesome/fontawesome-free": "~7.2", "@types/node": "~25.3", "add-dist-header": "~1.6", "assert-deep-strict-equal": "~1.2", "copy-file-util": "~1.3", "copy-folder-util": "~1.2", "dna-dom": "~3.3", "eslint": "~10.0", "esm-to-plain-js": "~1.2", "http-server": "~14.1", "jsdom": "~28.1", "jshint": "~2.13", "mocha": "~11.7", "puppeteer": "~24.37", "puppeteer-browser-ready": "~1.4", "replacer-util": "~1.6", "rimraf": "~6.1", "run-scripts-util": "~1.3", "typescript": "~5.9", "typescript-eslint": "~8.56", "uglify-js": "~3.19", "w3c-html-validator": "~2.2", "web-ignition": "~2.5", "whatwg-fetch": "~3.6" } }