UNPKG

taro-fetch-polyfill

Version:
89 lines (88 loc) 2.51 kB
{ "name": "taro-fetch-polyfill", "version": "0.5.8", "license": "LGPL-3.0", "author": "shiy2008@gmail.com", "description": "W3C fetch() API polyfill for Taro 3+", "keywords": [ "w3c", "fetch", "api", "polyfill", "taro", "wechat", "mini-app", "mini-program" ], "homepage": "https://idea2app.github.io/Taro-Fetch-polyfill/", "repository": { "type": "git", "url": "git+https://github.com/idea2app/Taro-Fetch-polyfill.git" }, "bugs": { "url": "https://github.com/idea2app/Taro-Fetch-polyfill/issues" }, "source": "source/index.ts", "types": "dist/index.d.ts", "module": "dist/index.esm.js", "main": "dist/index.js", "dependencies": { "@swc/helpers": "^0.5.17", "@ungap/url-search-params": "^0.2.2", "array-unique-proposal": "^0.3.4", "miniprogram-blob": "^2.0.0", "miniprogram-formdata": "^2.0.0", "web-streams-polyfill": "^4.1.0" }, "peerDependencies": { "@tarojs/taro": ">=3" }, "devDependencies": { "@parcel/packager-ts": "~2.15.4", "@parcel/transformer-typescript-types": "~2.15.4", "@tarojs/taro": "^4.1.2", "husky": "^9.1.7", "lint-staged": "^16.1.2", "open-cli": "^8.0.0", "parcel": "~2.15.4", "prettier": "^3.6.1", "typedoc": "^0.28.5", "typedoc-plugin-mdn-links": "^5.0.2", "typescript": "~5.8.3" }, "pnpm": { "onlyBuiltDependencies": [ "@parcel/watcher", "@swc/core", "lmdb", "msgpackr-extract" ] }, "prettier": { "singleQuote": true, "trailingComma": "none", "arrowParens": "avoid", "tabWidth": 4 }, "lint-staged": { "*.{md,ts,json,yml}": "prettier --write" }, "browserslist": "> 0.5%, last 2 versions, not dead", "targets": { "main": { "optimize": true, "includeNodeModules": [ "@ungap/url-search-params", "miniprogram-blob", "miniprogram-formdata" ] } }, "scripts": { "prepare": "husky", "test": "lint-staged", "build": "rm -rf dist/ docs/ && typedoc source/ && parcel build", "start": "typedoc source/ && open-cli docs/index.html", "prepublishOnly": "npm test && npm run build" } }