forked from bytecodealliance/jco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.8 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
{
"name": "@bytecodealliance/jco",
"version": "0.12.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"
},
"imports": {
"#ora": {
"browser": "./src/ora-shim.js",
"default": "ora"
}
},
"type": "module",
"dependencies": {
"@bytecodealliance/preview2-shim": "0.0.16",
"binaryen": "^111.0.0",
"chalk-template": "^0.4.0",
"commander": "^9.4.1",
"mkdirp": "^1.0.4",
"ora": "^6.1.2",
"terser": "^5.16.1"
},
"devDependencies": {
"@bytecodealliance/componentize-js": "^0.2.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": "^4.3.2"
},
"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 build --workspace --target wasm32-wasi --release && cargo run",
"build:types:preview2-shim": "PREVIEW2_SHIM_TYPES=* cargo build -p jco",
"lint": "eslint -c eslintrc.cjs lib/**/*.js packages/*/lib/**/*.js",
"test": "rm -rf $(pwd)/node_modules/@bytecodealliance/jco/lib && ln -s $(pwd)/lib $(pwd)/node_modules/@bytecodealliance/jco/ && mocha -u tdd test/test.js --timeout 120000"
},
"files": [
"lib",
"src",
"obj"
],
"workspaces": [
"packages/preview2-shim"
]
}