forked from bytecodealliance/jco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.87 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
{
"name": "@bytecodealliance/jco",
"version": "1.0.3",
"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"
},
"imports": {
"#ora": {
"browser": "./src/ora-shim.js",
"default": "ora"
}
},
"type": "module",
"dependencies": {
"@bytecodealliance/preview2-shim": "0.16.0",
"binaryen": "^116.0.0",
"chalk-template": "^1",
"commander": "^12",
"mkdirp": "^3",
"ora": "^8",
"terser": "^5"
},
"devDependencies": {
"@bytecodealliance/componentize-js": "^0.7.0",
"@types/node": "^18.11.17",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"eslint": "^8.30.0",
"mocha": "^10.2.0",
"terser": "^5.16.1",
"typescript": "^5.3.3"
},
"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 lib/**/*.js packages/*/lib/**/*.js",
"test:lts": "mocha -u tdd test/test.js --timeout 30000",
"test": "node --stack-trace-limit=100 --experimental-wasm-multi-memory node_modules/mocha/bin/mocha.js -u tdd test/test.js --timeout 30000",
"prepublishOnly": "cargo xtask build release && npm run test"
},
"files": [
"lib",
"src",
"obj"
],
"workspaces": [
"packages/preview2-shim"
]
}