mirror of
https://github.com/encounter/jco.git
synced 2026-03-30 11:18:26 -07:00
81 lines
2.1 KiB
JSON
81 lines
2.1 KiB
JSON
{
|
|
"name": "@bytecodealliance/jco",
|
|
"version": "1.9.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.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/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 240000",
|
|
"test": "node --experimental-wasm-jspi --stack-trace-limit=100 node_modules/mocha/bin/mocha.js -u tdd test/test.js --timeout 240000",
|
|
"prepublishOnly": "cargo xtask build release && npm run test"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"src",
|
|
"obj/*.core*.wasm",
|
|
"obj/*.js",
|
|
"obj/*.ts",
|
|
"obj/interfaces"
|
|
],
|
|
"workspaces": [
|
|
"packages/preview2-shim"
|
|
]
|
|
}
|