UNPKG

kelda-js

Version:

A thread pool for the browser, built on top of Web Workers

86 lines (85 loc) 2.58 kB
{ "name": "kelda-js", "version": "0.5.1", "author": "Rufus Raghunath", "description": "A thread pool for the browser, built on top of Web Workers", "license": "MIT", "main": "dist/bundle.js", "types": "dist/index.d.ts", "files": [ "dist/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/rufusraghunath/kelda.git" }, "keywords": [ "web workers", "workers", "thread", "threadpool", "thread pool", "threading", "performance", "javascript" ], "bugs": { "url": "https://github.com/rufusraghunath/kelda/issues" }, "homepage": "https://github.com/rufusraghunath/kelda#readme", "scripts": { "prepublish": "npm run build", "build": "npm run lint && npm run prettier && npm run test:coverage && npm run bundle && npm run copy-types", "bundle": "webpack --mode=production", "build-test-scripts": "webpack --mode=production --config=./src/util/test/webpack.config.js", "test": "jest --config jestconfig.json --watch", "test:coverage": "jest --config jestconfig.json --coverage", "prettier:base": "prettier --parser typescript", "prettier": "npm run prettier:base -- --list-different \"src/**/*.ts\"", "prettier:fix": "npm run prettier:base -- --loglevel warn --write \"src/**/*.ts\"", "lint": "npx eslint 'src/**/*.ts' -c ./eslintconfig.json", "lint:fix": "npm run lint -- --fix", "copy-types": "cp src/types/index.d.ts dist", "local-registry": "verdaccio", "local-registry:publish": "npm publish --registry http://localhost:4873", "test-app": "cd test-app && npm run start" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "npm run build" } }, "lint-staged": { "*.ts": [ "npm run prettier:fix", "npm run lint:fix", "git add" ] }, "dependencies": {}, "devDependencies": { "@testing-library/jest-dom": "^4.2.4", "@types/jest": "^24.0.19", "@types/uuid": "^3.4.6", "@typescript-eslint/eslint-plugin": "^2.4.0", "@typescript-eslint/parser": "^2.4.0", "eslint": "^6.5.1", "eslint-config-prettier": "^6.4.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-prettier": "^3.1.1", "husky": "^3.0.9", "jest": "^24.9.0", "jest-cli": "^24.9.0", "lint-staged": "^9.4.2", "prettier": "^1.18.2", "ts-jest": "^24.2.0", "ts-loader": "^6.2.0", "typescript": "^3.7.3", "uuid": "^3.3.3", "verdaccio": "^4.6.0", "webpack": "^4.41.0", "webpack-cli": "^3.3.9", "xhr-mock": "^2.5.1" } }