forked from bytecodealliance/jco
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (84 loc) · 2.41 KB
/
package.json
File metadata and controls
85 lines (84 loc) · 2.41 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
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
81
82
83
84
85
{
"name": "@ignored/slang-jco",
"__slang_release_comment__": "Use the same upstream version, adding the '-slang' suffix, and incrementing the build number '.N' as needed.",
"version": "1.9.1-slang.1",
"bin": {
"slang-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.16.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": "^24.0.1",
"typescript": "^5.5.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nomicfoundation/jco.git"
},
"keywords": [
"Wasm",
"WebAssembly",
"Component"
],
"license": "(Apache-2.0 WITH LLVM-exception)",
"bugs": {
"url": "https://github.com/nomicfoundation/jco/issues"
},
"homepage": "https://github.com/nomicfoundation/jco#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"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 240000",
"test": "node --experimental-wasm-jspi --stack-trace-limit=100 node_modules/mocha/bin/mocha.js -u tdd test/test.js --timeout 240000",
"slang:setup": "./bin/npm ci && ./bin/rustup install --no-self-update --profile 'minimal' '1.82.0' && ./bin/rustup target add --toolchain '1.82.0' 'wasm32-wasip1'",
"slang:build": "./bin/npm run 'build' && ./bin/npm run 'build:release'"
},
"files": [
"lib",
"src",
"obj/*.core*.wasm",
"obj/*.js",
"obj/*.ts",
"obj/interfaces"
],
"workspaces": [
"packages/preview2-shim"
]
}