-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 851 Bytes
/
package.json
File metadata and controls
26 lines (26 loc) · 851 Bytes
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
{
"name": "http-client",
"version": "0.1.0",
"description": "A WebAssembly component that makes outgoing HTTP requests using the fetch API",
"private": true,
"type": "module",
"main": "dist/component.js",
"scripts": {
"fetch:wit": "wash wit fetch",
"generate:types": "rimraf generated/types && jco guest-types wit/ -o generated/types",
"setup:wit": "npm run fetch:wit && npm run generate:types",
"build:ts": "tsc",
"build:component": "jco componentize -w wit -o dist/http_client.wasm dist/component.js",
"build": "npm run setup:wit && npm run build:ts && npm run build:component",
"dev": "nodemon"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@bytecodealliance/jco": "^1.15.4",
"nodemon": "^3.1.9",
"rimraf": "^6.1.2",
"typescript": "^5.9.3"
}
}