@wevu/web-apis
Version:
Web API polyfills and global installers for mini-program runtimes
93 lines • 2.17 kB
JSON
{
"name": "@wevu/web-apis",
"type": "module",
"version": "1.2.12",
"description": "Web API polyfills and global installers for mini-program runtimes",
"author": "ice breaker <1324318532@qq.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/weapp-vite/weapp-vite.git",
"directory": "packages-runtime/web-apis"
},
"bugs": {
"url": "https://github.com/weapp-vite/weapp-vite/issues"
},
"keywords": [
"weapp",
"web",
"runtime",
"fetch",
"polyfill",
"miniprogram"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"./abort": {
"types": "./dist/abort.d.mts",
"import": "./dist/abort.mjs"
},
"./fetch": {
"types": "./dist/fetch.d.mts",
"import": "./dist/fetch.mjs"
},
"./http": {
"types": "./dist/http.d.mts",
"import": "./dist/http.mjs"
},
"./network-defaults": {
"types": "./dist/networkDefaults.d.mts",
"import": "./dist/networkDefaults.mjs"
},
"./shared": {
"types": "./dist/shared.d.mts",
"import": "./dist/shared.mjs"
},
"./url": {
"types": "./dist/url.d.mts",
"import": "./dist/url.mjs"
},
"./web": {
"types": "./dist/web.d.mts",
"import": "./dist/web.mjs"
},
"./websocket": {
"types": "./dist/websocket.d.mts",
"import": "./dist/websocket.mjs"
},
"./xhr": {
"types": "./dist/xhr.d.mts",
"import": "./dist/xhr.mjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"dependencies": {
"@weapp-core/constants": "^0.1.4",
"@wevu/api": "0.2.8"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"dev": "tsdown -w --sourcemap",
"build": "tsdown",
"test": "vitest run",
"test:dev": "vitest",
"pretest:types": "pnpm build",
"test:types": "tsd",
"typecheck": "tsc --noEmit"
}
}