2022-03-07 16:36:22 -05:00
|
|
|
{
|
|
|
|
"name": "@astrojs/webapi",
|
|
|
|
"description": "Use Web APIs in Node",
|
2022-05-23 12:26:07 -05:00
|
|
|
"version": "0.12.0",
|
2022-03-07 16:36:22 -05:00
|
|
|
"type": "module",
|
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./mod.js",
|
|
|
|
"types": "./mod.d.ts"
|
|
|
|
},
|
|
|
|
"./apply": {
|
|
|
|
"import": "./apply.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"main": "mod.js",
|
|
|
|
"types": "mod.d.ts",
|
|
|
|
"files": [
|
|
|
|
"apply.js",
|
|
|
|
"mod.d.ts",
|
|
|
|
"mod.js",
|
|
|
|
"mod.js.map"
|
|
|
|
],
|
|
|
|
"keywords": [
|
|
|
|
"astro",
|
|
|
|
"api",
|
|
|
|
"cancelAnimationFrame",
|
|
|
|
"clearImmediate",
|
|
|
|
"clearInterval",
|
|
|
|
"fetch",
|
|
|
|
"requestAnimationFrame",
|
|
|
|
"setImmediate",
|
|
|
|
"setInterval",
|
|
|
|
"web"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/withastro/astro.git",
|
|
|
|
"directory": "packages/webapi"
|
|
|
|
},
|
|
|
|
"author": "withastro",
|
|
|
|
"license": "MIT",
|
|
|
|
"contributors": [
|
|
|
|
"Jonathan Neal (https://github.com/jonathantneal)",
|
|
|
|
"Toru Nagashima (https://github.com/mysticatea)",
|
|
|
|
"Jimmy Wärting (https://github.com/jimmywarting)",
|
|
|
|
"David Frank (https://github.com/bitinn)",
|
|
|
|
"Mattias Buelens (https://github.com/MattiasBuelens)",
|
|
|
|
"Diwank Singh (https://github.com/creatorrr)"
|
|
|
|
],
|
|
|
|
"bugs": "https://github.com/withastro/astro/issues",
|
|
|
|
"homepage": "https://github.com/withastro/astro/tree/main/packages/webapi#readme",
|
2022-05-20 16:26:41 -05:00
|
|
|
"dependencies": {
|
2022-06-02 14:30:46 -05:00
|
|
|
"node-fetch": "^3.2.5"
|
2022-05-20 16:26:41 -05:00
|
|
|
},
|
2022-03-07 16:36:22 -05:00
|
|
|
"devDependencies": {
|
|
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
|
|
"@rollup/plugin-inject": "^4.0.4",
|
2022-05-12 11:42:34 -05:00
|
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
2022-04-20 08:42:31 -05:00
|
|
|
"@rollup/plugin-typescript": "^8.3.2",
|
|
|
|
"@types/chai": "^4.3.1",
|
2022-04-22 09:04:01 -05:00
|
|
|
"@types/mocha": "^9.1.1",
|
2022-06-28 08:33:13 -05:00
|
|
|
"@types/node": "^14.18.21",
|
2022-03-07 16:36:22 -05:00
|
|
|
"@ungap/structured-clone": "^0.3.4",
|
|
|
|
"abort-controller": "^3.0.0",
|
2022-04-10 20:29:46 -05:00
|
|
|
"chai": "^4.3.6",
|
2022-03-07 16:36:22 -05:00
|
|
|
"event-target-shim": "^6.0.2",
|
2022-03-16 09:53:46 -05:00
|
|
|
"fetch-blob": "^3.1.5",
|
2022-03-07 16:36:22 -05:00
|
|
|
"formdata-polyfill": "^4.0.10",
|
2022-03-11 17:38:28 -05:00
|
|
|
"magic-string": "^0.25.9",
|
2022-03-14 12:23:35 -05:00
|
|
|
"mocha": "^9.2.2",
|
2022-06-28 08:33:13 -05:00
|
|
|
"rollup": "^2.75.6",
|
2022-03-07 16:36:22 -05:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2022-04-22 09:04:01 -05:00
|
|
|
"tslib": "^2.4.0",
|
2022-06-28 08:33:13 -05:00
|
|
|
"typescript": "~4.7.3",
|
2022-03-07 16:36:22 -05:00
|
|
|
"urlpattern-polyfill": "^1.0.0-rc5",
|
2022-05-12 11:42:34 -05:00
|
|
|
"web-streams-polyfill": "^3.2.1"
|
2022-03-07 16:36:22 -05:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "node run/build.js",
|
2022-03-23 19:46:16 -05:00
|
|
|
"build:ci": "node run/build.js",
|
2022-03-09 16:44:26 -05:00
|
|
|
"dev": "node run/build.js",
|
2022-03-07 16:36:22 -05:00
|
|
|
"release": "node run/build.js && npm publish --access public",
|
|
|
|
"test": "mocha --parallel --timeout 15000"
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"semi": false,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"useTabs": true,
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
".stackblitzrc",
|
|
|
|
"*.json"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"useTabs": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|