summaryrefslogtreecommitdiff
path: root/packages/webapi/package.json
blob: e65796fd8ccfe19f38e4d23d0e4706cb3696cddd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
  "name": "@astrojs/webapi",
  "description": "Use Web APIs in Node",
  "version": "2.2.0",
  "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",
  "dependencies": {
    "undici": "^5.22.1"
  },
  "devDependencies": {
    "@rollup/plugin-alias": "^3.1.9",
    "@rollup/plugin-inject": "^4.0.4",
    "@rollup/plugin-node-resolve": "^13.3.0",
    "@rollup/plugin-typescript": "^8.5.0",
    "@types/chai": "^4.3.5",
    "@types/mocha": "^9.1.1",
    "@types/node": "^18.16.18",
    "@ungap/structured-clone": "^0.3.4",
    "chai": "^4.3.7",
    "event-target-shim": "^6.0.2",
    "magic-string": "^0.30.2",
    "mocha": "^9.2.2",
    "rollup": "^2.79.1",
    "tslib": "^2.5.3",
    "typescript": "~5.1.6",
    "urlpattern-polyfill": "^1.0.0-rc5"
  },
  "scripts": {
    "build": "node run/build.js",
    "build:ci": "node run/build.js",
    "dev": "node run/build.js",
    "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
        }
      }
    ]
  }
}