forked from bytecodealliance/jco
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
80 lines (80 loc) · 2.07 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
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
{
"name": "@bytecodealliance/jco",
"version": "1.8.1",
"description": "JavaScript tooling for working with WebAssembly Components",
"author": "Guy Bedford",
"bin": {
"jco": "src/jco.js"
},
"exports": {
".": {
"browser": "./src/browser.js",
"default": "./src/api.js"
},
"./component": {
"types": "./obj/js-component-bindgen-component.d.ts",
"default": "./src/browser.js"
}
},
"imports": {
"#ora": {
"browser": "./src/ora-shim.js",
"default": "ora"
}
},
"type": "module",
"dependencies": {
"@bytecodealliance/componentize-js": "^0.15.0",
"@bytecodealliance/preview2-shim": "^0.17.1",
"binaryen": "^120.0.0",
"chalk-template": "^1",
"commander": "^12",
"mkdirp": "^3",
"ora": "^8",
"terser": "^5"
},
"devDependencies": {
"@types/node": "^20.14.12",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"eslint": "^9.9.0",
"mime": "^4.0.4",
"mocha": "^10.7.0",
"puppeteer": "^23.4.0",
"typescript": "^5.5.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bytecodealliance/jco.git"
},
"keywords": [
"Wasm",
"WebAssembly",
"Component"
],
"license": "(Apache-2.0 WITH LLVM-exception)",
"bugs": {
"url": "https://github.com/bytecodealliance/jco/issues"
},
"homepage": "https://github.com/bytecodealliance/jco#readme",
"scripts": {
"build": "cargo xtask build debug",
"build:release": "cargo xtask build release",
"build:types:preview2-shim": "cargo xtask generate wasi-types",
"lint": "eslint -c eslintrc.cjs src/**/*.js packages/*/lib/**/*.js",
"test:lts": "mocha -u tdd test/test.js --timeout 120000",
"test": "node --stack-trace-limit=100 node_modules/mocha/bin/mocha.js -u tdd test/test.js --timeout 120000",
"prepublishOnly": "cargo xtask build release && npm run test"
},
"files": [
"lib",
"src",
"obj/*.core*.wasm",
"obj/*.js",
"obj/*.ts",
"obj/interfaces"
],
"workspaces": [
"packages/preview2-shim"
]
}