-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.3 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.3 KB
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
{
"name": "http-axios",
"version": "0.1.0",
"description": "jco example using axios",
"main": "dist/component.js",
"type": "module",
"scripts": {
"generate:types": "rimraf generated/types && jco guest-types wit/ -o generated/types",
"build:ts": "tsc -p .",
"build:js": "rollup -c",
"build:component": "jco componentize -w wit -o dist/http-axios.wasm dist/component.js",
"install:deps": "rimraf wit/deps && wash wit fetch",
"build": "npm run install:deps && npm run generate:types && npm run build:ts && npm run build:js && npm run build:component",
"install-and-build": "npm install && npm run build",
"transpile": "jco transpile dist/http-axios.wasm -o dist/transpiled/",
"demo": "node demo.js",
"test": "echo \"Error: no test specified\" && exit 0"
},
"author": "",
"license": "ISC",
"keywords": [],
"dependencies": {
"axios": "=1.16.0"
},
"devDependencies": {
"@bytecodealliance/componentize-js": "^0.20.0",
"@bytecodealliance/jco": "^1.19.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "=12.3.0",
"@types/node": "^24.12.3",
"rimraf": "^6.1.3",
"rollup": "^4.60.3",
"tslib": "^2.8.1",
"typescript": "^6.0.3"
}
}