diff --git a/apps/api-server/package.json b/apps/api-server/package.json index 6ced645..0f258e4 100644 --- a/apps/api-server/package.json +++ b/apps/api-server/package.json @@ -1,11 +1,11 @@ { - "name": "api-server", + "name": "@reviq/api-server", "version": "0.0.0", "private": true, "type": "module", "scripts": { "dev": "bun run --hot src/index.ts", - "build": "bun build src/index.ts --outdir dist", + "build": "bun build src/index.ts --compile --outfile dist/api-server", "typecheck": "tsc --noEmit", "lint": "eslint . --cache", "clean": "rm -rf dist .eslintcache", diff --git a/apps/cli/package.json b/apps/cli/package.json index d51f86c..7979a11 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -4,10 +4,10 @@ "private": true, "type": "module", "bin": { - "reviq": "./dist/index.js" + "reviq": "./dist/reviq" }, "scripts": { - "build": "bun build src/bin/reviq.ts --outdir dist --target bun", + "build": "bun build src/bin/reviq.ts --compile --outfile dist/reviq", "cli": "bun run src/bin/reviq.ts", "typecheck": "tsc --noEmit", "lint": "eslint . --cache",