UNPKG

worker-channel

Version:

A modern zero-dependency Worker communication and orchestration library

69 lines (68 loc) 1.79 kB
{ "name": "worker-channel", "private": false, "repository": { "type": "git", "url": "https://github.com/johnsonjo4531/worker-channel" }, "homepage": "https://johnsonjo4531.github.io/worker-channel/", "license": "MIT", "version": "1.0.2", "source": "src/main.ts", "main": "dist/index.cjs", "module": "dist/index.js", "types": "./dist/index.d.ts", "exports": { "import": "./dist/index.js", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" }, "scripts": { "prepublish": "npm run build && npm run lint && npm run test", "docs": "typedoc src/main.ts --excludeInternal --out worker-channel", "test": "jest --detectOpenHandles", "lint": "eslint -c ./.eslintrc ./src/main.ts", "watch": "parcel watch", "build": "parcel build", "gh-pages": "npm run docs && gh-pages -d worker-channel", "start": "npm run test; npm run lint; npm run build" }, "keywords": [ "worker", "communication", "com", "worker-channel", "message", "messaging", "channel", "modern", "promise", "promises", "async", "iterable", "async-iterable", "message-channel", "port", "webworker", "webworkers", "typed", "typescript" ], "type": "module", "devDependencies": { "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.21.0", "@parcel/packager-ts": "^2.8.3", "@parcel/transformer-typescript-types": "^2.8.3", "@types/jest": "^29.4.0", "@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/parser": "^5.53.0", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "gh-pages": "^5.0.0", "jest": "^29.4.3", "parcel": "^2.8.3", "typedoc": "^0.23.25", "typescript": "^4.9.3" } }