UNPKG

worker-factory

Version:

A little factory function to create a JSON-RPC based Web Worker implementation.

87 lines (86 loc) 3.14 kB
{ "author": "Christoph Guttandin", "bugs": { "url": "https://github.com/chrisguttandin/worker-factory/issues" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "dependencies": { "@babel/runtime": "^7.26.10", "fast-unique-numbers": "^9.0.19", "tslib": "^2.8.1" }, "description": "A little factory function to create a JSON-RPC based Web Worker implementation.", "devDependencies": { "@babel/core": "^7.26.10", "@babel/plugin-external-helpers": "^7.25.9", "@babel/plugin-transform-runtime": "^7.26.10", "@babel/preset-env": "^7.26.9", "@commitlint/cli": "^19.8.0", "@commitlint/config-angular": "^19.8.0", "@rollup/plugin-babel": "^6.0.4", "chai": "^4.3.10", "commitizen": "^4.3.1", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.57.0", "eslint-config-holy-grail": "^60.0.25", "grunt": "^1.6.1", "grunt-cli": "^1.5.0", "grunt-sh": "^0.2.1", "husky": "^9.1.7", "karma": "^6.4.4", "karma-browserstack-launcher": "^1.6.0", "karma-chrome-launcher": "^3.2.0", "karma-cli": "^2.0.0", "karma-firefox-launcher": "^2.1.3", "karma-mocha": "^2.0.1", "karma-mocha-webworker": "^1.3.0", "karma-sinon-chai": "^2.0.2", "karma-webkit-launcher": "^2.6.0", "karma-webpack": "^5.0.1", "lint-staged": "^15.4.3", "load-grunt-config": "^4.0.1", "memory-fs": "^0.5.0", "mocha": "^11.1.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "rollup": "^4.35.0", "sinon": "^17.0.2", "sinon-chai": "^3.7.0", "ts-loader": "^9.5.2", "tsconfig-holy-grail": "^15.0.2", "tslint": "^6.1.3", "tslint-config-holy-grail": "^56.0.6", "typescript": "^5.8.2", "webpack": "^5.98.0" }, "files": [ "build/es2019/", "build/es5/", "src/" ], "homepage": "https://github.com/chrisguttandin/worker-factory", "license": "MIT", "main": "build/es5/bundle.js", "module": "build/es2019/module.js", "name": "worker-factory", "repository": { "type": "git", "url": "https://github.com/chrisguttandin/worker-factory.git" }, "scripts": { "build": "rimraf build/* && tsc --project src/tsconfig.json && rollup --config config/rollup/bundle.mjs", "lint": "npm run lint:config && npm run lint:src && npm run lint:test", "lint:config": "eslint --config config/eslint/config.json --ext .js --report-unused-disable-directives config/", "lint:src": "tslint --config config/tslint/src.json --project src/tsconfig.json src/*.ts src/**/*.ts", "lint:test": "eslint --config config/eslint/test.json --ext .js --report-unused-disable-directives test/", "prepare": "husky", "prepublishOnly": "npm run build", "test": "npm run lint && grunt test" }, "types": "build/es2019/module.d.ts", "version": "7.0.40" }