UNPKG

wasmrs-js

Version:

A JavaScript implementation of the RSocket protocol over WebAssembly.

65 lines (64 loc) 2.05 kB
{ "name": "wasmrs-js", "description": "A JavaScript implementation of the RSocket protocol over WebAssembly.", "license": "Apache-2.0", "version": "0.3.1", "scripts": { "prepublish": "npm run build", "test": "npm run test:unit", "test:unit": "npm run build:worker:node && NODE_OPTIONS=--experimental-vm-modules jest --coverage --detectOpenHandles", "watch:test": "NODE_OPTIONS=--experimental-vm-modules jest --watchAll --coverage", "build": "tsc && npm run build:worker:node && npm run build:worker:browser", "build:worker:node": "rollup -c rollup.config.node.js", "build:worker:browser": "rollup -c rollup.config.browser.js", "watch": "tsc --watch" }, "files": [ "src/*", "dist/*", "README.md", "LICENSE" ], "engines": { "node": ">=0.19.0" }, "browser": "./dist/src/browser.js", "dependencies": { "@candlecorp/browser_wasi_shim": "^0.2.16", "debug": "^4.3.4", "rsocket-core": "^1.0.0-alpha.3", "web-worker": "^1.2.0" }, "type": "module", "types": "./dist/src/node/index.d.ts", "exports": { ".": "./dist/src/node/index.js", "./node": "./dist/src/node/index.js", "./browser": "./dist/src/browser/index.js" }, "devDependencies": { "@candlecorp/rsocket-adapter-rxjs": "^0.0.1", "@jest/globals": "^29.7.0", "@msgpack/msgpack": "^3.0.0-beta2", "@rollup/plugin-commonjs": "^25.0.5", "@rollup/plugin-node-resolve": "^15.2.2", "@rollup/plugin-typescript": "^11.1.5", "@types/debug": "^4.1.9", "@types/jest": "^27.0.3", "@types/node": "^20.7.2", "@typescript-eslint/eslint-plugin": "^6.7.3", "@typescript-eslint/parser": "^6.7.3", "eslint-plugin-import": "~2.25.3", "eslint-plugin-prettier": "^4.0.0", "eslint": "~8.5.0", "jest-config": "^29.7.0", "jest-runner-eslint": "^2.1.2", "jest": "^29.7.0", "prettier": "^2.5.1", "rollup": "^4.0.0", "rsocket-messaging": "^1.0.0-alpha.3", "rxjs": "^7.8.1", "ts-jest": "^29.1.1", "typescript": "^5.2.2" } }