UNPKG

message-port-api

Version:

A simple package that allows you to simplify the use of `MessagePort API` more easily (Worker, IFrame...)

71 lines 1.84 kB
{ "name": "message-port-api", "version": "0.0.5", "description": "A simple package that allows you to simplify the use of `MessagePort API` more easily (Worker, IFrame...)", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "unpkg": "./dist/index.mjs", "jsdelivr": "dist/index.global.js", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "devDependencies": { "@tachibana-shin/eslint-config": "^1.0.2", "@types/node": "^17.0.36", "bumpp": "^7.1.1", "conventional-changelog-cli": "^2.2.2", "cspell": "^6.0.0", "eslint": "^8.16.0", "husky": "^8.0.1", "mitt": "^3.0.0", "prettier": "^2.6.2", "tsup": "^6.0.1", "typescript": "^4.7.2", "vitest": "^0.13.0" }, "license": "MIT", "repository": { "type": "git", "url": "git://github.com/tachibana-shin/message-port-api.git" }, "homepage": "https://tachibana-shin.github.io/message-port-api", "keywords": [ "message-port-api", "message port", "simple", "comlink", "workercom", "typed-worker", "Tachibana Shin", "tachibana-shin" ], "files": [ "dist" ], "husky": { "hooks": { "pre-commit": "pnpm format" } }, "engines": { "node": ">=10" }, "scripts": { "format": "prettier -w src", "build": "tsup", "dev": "tsx ./src/index.ts", "lint": "eslint src --ext=.ts", "lint:fix": "pnpm lint --fix", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "release": "bumpp package.json --commit --push --tag && pnpm -r publish --access public", "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage" } }