{
  "name": "threads",
  "version": "1.7.0",
  "description": "Web workers & worker threads as simple as a function call",
  "license": "MIT",
  "main": "dist/index.js",
  "module": "dist-esm/index.js",
  "scripts": {
    "clean": "rimraf dist/ dist-esm/",
    "dev": "npm run clean && tsc -p tsconfig.json --watch",
    "build": "npm run clean && npm run build:cjs && npm run build:es",
    "build:cjs": "tsc -p tsconfig.json",
    "build:es": "tsc -p tsconfig-esm.json",
    "postbuild": "npm run bundle",
    "bundle": "rollup -c -f umd --file=bundle/worker.js --name=threads --silent -- dist-esm/worker/bundle-entry.js",
    "test": "npm run test:library && npm run test:tooling && npm run test:puppeteer:basic && npm run test:puppeteer:webpack",
    "test:library": "cross-env TS_NODE_FILES=true ava ./test/**/*.test.ts",
    "test:tooling": "cross-env TS_NODE_FILES=true ava ./test-tooling/**/*.test.ts",
    "test:puppeteer:basic": "puppet-run --plugin=mocha --bundle=./test/workers/:workers/ --serve=./bundle/worker.js:/worker.js ./test/*.chromium*.ts",
    "test:puppeteer:webpack": "puppet-run --serve ./test-tooling/webpack/dist/app.web/0.worker.js --serve ./test-tooling/webpack/dist/app.web/1.worker.js --plugin=mocha ./test-tooling/webpack/webpack.chromium.mocha.ts",
    "posttest": "tslint --project .",
    "prepare": "npm run build"
  },
  "exports": {
    ".": {
      "require": "./dist/index.js",
      "default": "./index.mjs"
    },
    "./observable": {
      "require": "./observable.js",
      "default": "./observable.mjs"
    },
    "./register": {
      "require": "./register.js",
      "default": "./register.mjs"
    },
    "./worker": {
      "require": "./worker.js",
      "default": "./worker.mjs"
    }
  },
  "sideEffects": [
    "./dist*/master/register.js",
    "./dist*/worker/index.js",
    "./register.*js",
    "./worker.*js"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/andywer/threads.js.git"
  },
  "author": "Andy Wermke (https://github.com/andywer)",
  "bugs": {
    "url": "https://github.com/andywer/threads.js/issues"
  },
  "funding": "https://github.com/andywer/threads.js?sponsor=1",
  "homepage": "https://threads.js.org",
  "keywords": [
    "thread",
    "worker",
    "pool",
    "spawn",
    "isomorphic",
    "parallel",
    "observable",
    "worker_threads"
  ],
  "dependencies": {
    "callsites": "^3.1.0",
    "debug": "^4.2.0",
    "is-observable": "^2.1.0",
    "observable-fns": "^0.6.1"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^16.0.0",
    "@rollup/plugin-node-resolve": "^10.0.0",
    "@types/chai": "^4.2.14",
    "@types/debug": "^4.1.5",
    "@types/execa": "^2.0.0",
    "@types/mocha": "^8.0.3",
    "@types/node": "^14.14.5",
    "@types/webpack": "^4.41.23",
    "ava": "^3.13.0",
    "chai": "^4.2.0",
    "cross-env": "^7.0.2",
    "execa": "^4.0.3",
    "mocha": "^8.2.0",
    "puppet-run": "^0.11.3",
    "puppet-run-plugin-mocha": "^0.10.0-alpha",
    "raw-loader": "^4.0.2",
    "rimraf": "^3.0.2",
    "rollup": "^2.32.1",
    "threads-plugin": "^1.3.3",
    "tiny-worker": "^2.2.0",
    "ts-loader": "^8.0.7",
    "ts-node": "^9.0.0",
    "tslint": "^6.1.3",
    "tslint-config-prettier": "^1.18.0",
    "typescript": "^4.2.3",
    "wavy": "^1.0.4",
    "webpack": "^4.44.2",
    "worker-plugin": "^5.0.0"
  },
  "optionalDependencies": {
    "tiny-worker": ">= 2"
  },
  "ava": {
    "extensions": [
      "ts"
    ],
    "files": [
      "./test/**/*.test.ts",
      "./test-tooling/**/*.test.ts"
    ],
    "require": [
      "ts-node/register"
    ],
    "serial": true
  },
  "browser": {
    "callsites": false,
    "tiny-worker": false,
    "ts-node": false,
    "ts-node/register": false,
    "worker_threads": false,
    "./dist/master/implementation.js": "./dist/master/implementation.browser.js",
    "./dist/master/implementation.node.js": false,
    "./dist/worker/implementation.js": "./dist/worker/implementation.browser.js",
    "./dist/worker/implementation.tiny-worker.js": false,
    "./dist/worker/implementation.worker_threads.js": false,
    "./dist-esm/master/implementation.js": "./dist-esm/master/implementation.browser.js",
    "./dist-esm/master/implementation.node.js": false,
    "./dist-esm/worker/implementation.js": "./dist-esm/worker/implementation.browser.js",
    "./dist-esm/worker/implementation.tiny-worker.js": false,
    "./dist-esm/worker/implementation.worker_threads.js": false
  },
  "files": [
    "dist/**",
    "dist-esm/**",
    "*.js",
    "*.mjs",
    "*.ts"
  ]
}
