This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -2,10 +2,17 @@
"name": "@waggle/worker",
"version": "0.1.0",
"type": "module",
"exports": { ".": "./src/index.ts" },
"main": "dist/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"build": "tsc --build --force && esbuild src/index.ts --bundle --platform=node --format=esm --packages=external --sourcemap --outfile=dist/index.js",
"test": "node ../../node_modules/vitest/vitest.mjs run --root ../.. --config vitest.config.ts packages/worker/tests",
"start": "node dist/index.js"
},