{ "name": "@jimp/worker", "version": "2.2.0", "description": "Run Jimp off the main thread, in web workers and Node.js worker threads.", "files": [ "dist" ], "repository": "jimp-dev/jimp", "engines": { "node": ">=22" }, "scripts": { "lint": "eslint .", "test": "vitest", "test:browser": "vitest --config vitest.config.browser.mjs", "build": "tshy", "dev": "tshy --watch", "clean": "rimraf node_modules .tshy .tshy-build dist .turbo" }, "keywords": [ "jimp", "image", "worker", "web worker", "worker_threads" ], "author": "Andrew Lisowski ", "license": "MIT", "dependencies": { "@jimp/core": "workspace:*", "@jimp/types": "workspace:*", "zod": "^4.6.7" }, "devDependencies": { "@jimp/config-eslint": "workspace:*", "@jimp/config-typescript": "workspace:*", "@jimp/config-vitest": "workspace:*", "@jimp/js-png": "workspace:*", "@jimp/plugin-crop": "workspace:*", "@jimp/test-utils": "workspace:*", "@jimp/wasm-webp": "workspace:*", "@types/node": "^22.20.5", "@vitest/browser": "^5.1.1", "eslint": "^10.15.0", "jimp": "workspace:*", "tshy": "~4.0.0", "typescript": "^7.0.2", "vite-plugin-node-polyfills": "^0.28.0", "vitest": "^5.1.1" }, "tshy": { "exclude": [ "**/*.test.ts", "**/*.test-d.ts", "src/fixtures/**" ], "esmDialects": [ "browser" ], "exports": { "./package.json": "./package.json", ".": "./src/index.ts" } }, "exports": { "./package.json": "./package.json", ".": { "browser": { "types": "./dist/browser/index.d.ts", "default": "./dist/browser/index.js" }, "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } } }, "main": "./dist/commonjs/index.js", "types": "./dist/commonjs/index.d.ts", "type": "module", "publishConfig": { "access": "public" }, "sideEffects": false, "module": "./dist/esm/index.js" }