-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
25 lines (25 loc) · 1.2 KB
/
package.json
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
{
"main": "index.js",
"type": "module",
"scripts": {
"build": "cd src && tsc",
"test": "npm run test:generate-spec-list && npm run test:rollup && npm run test:jco && echo 'Test wasm built but not run temp/tests.wasm'",
"test:generate-spec-list": "node tests/generate-spec-list.js",
"test:rollup": "rollup --config './tests/rollup.config.js'",
"test:jco": "jco componentize ./temp/tests.js --wit ./wit -n imports -o out/tests.wasm --disable 'http'",
"example": "npm run example:rollup && npm run example:jco",
"example:rollup": "rollup --config './examples/rollup.config.js' --configExample=$npm_config_example",
"example:jco": "mkdir -p out && jco componentize temp/$npm_config_example.js --wit ./wit -n imports -o out/$npm_config_example.wasm --disable 'http'"
},
"devDependencies": {
"@bytecodealliance/jco": "^1.8.1",
"@rollup/plugin-typescript": "^12.1.1",
"@types/dom-mediacapture-transform": "^0.1.10",
"@types/node": "^22.10.2",
"@types/w3c-image-capture": "^1.0.10",
"@webgpu/types": "^0.1.52",
"rollup": "^4.12.0",
"tslib": "^2.8.1",
"typescript": "^5.7.2"
}
}