UNPKG

@lightningjs/threadx

Version:

A web browser-based JavaScript library that helps manage the communcation of data between one or more web worker threads.

82 lines (81 loc) 2.27 kB
{ "name": "@lightningjs/threadx", "version": "0.3.5", "description": "A web browser-based JavaScript library that helps manage the communcation of data between one or more web worker threads.", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "scripts": { "test": "vitest", "test:browser": "vite dev --host --open \"browser-tests/index.html\"", "build": "tsc", "watch": "tsc -w", "lint": "npm run lint:prettier && npm run lint:eslint", "lint:fix": "npm run lint:fix:prettier && npm run lint:fix:eslint", "lint:prettier": "prettier --check \"**/*.{ts,js,cjs,md}\"", "lint:fix:prettier": "prettier --write \"**/*.{ts,js,cjs,md}\"", "lint:eslint": "eslint .", "lint:fix:eslint": "eslint --fix .", "typedoc": "typedoc", "prepare": "husky install", "prepack": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/erikhaandrikman/threadx.git" }, "keywords": [ "SharedArrayBuffer", "Atomics", "JS" ], "author": "Comcast Cable Communications Management, LLC", "license": "Apache-2.0", "bugs": { "url": "https://github.com/erikhaandrikman/threadx/issues" }, "homepage": "https://github.com/erikhaandrikman/threadx#readme", "devDependencies": { "@lightningjs/threadx": "file:", "@types/mocha": "^10.0.1", "@types/node": "^18.15.13", "@types/tape": "^4.13.2", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "@vitest/browser": "^0.30.1", "chai": "^4.3.7", "eslint": "^8.38.0", "eslint-config-prettier": "^8.8.0", "husky": "^8.0.3", "lint-staged": "^13.2.1", "prettier": "^2.8.7", "tap-diff": "^0.1.1", "tape": "^5.6.1", "typedoc": "^0.25.1", "typescript": "^5.0.3", "vite": "^4.0.4", "vite-plugin-mkcert": "^1.13.3", "vitest": "^0.30.1", "webdriverio": "^8.9.0" }, "lint-staged": { "*.ts": [ "prettier --write", "eslint --fix" ], "*.{js,cjs,md}": "prettier --write" }, "files": [ "dist", "src", "LICENSE", "NOTICE", "README.md" ] }