Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbgt committed Dec 12, 2024
1 parent 0484bfa commit 808b558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:cleanup": "rm -rf packages/cli/dist && rm -rf packages/app/dist",
"build:packages": "npm run build --workspaces",
"build:copy-dist": "cp -r packages/app/dist packages/cli/dist/app_dist",
"build:add-shebang": "echo '#!/usr/bin/env node' | cat - packages/cli/dist/index.js > temp && mv temp packages/cli/dist/index.js && chmod +x packages/cli/dist/index.js",
"build:add-shebang": "echo '#!/usr/bin/env node' | cat - packages/cli/dist/src/index.js > temp && mv temp packages/cli/dist/index.js && chmod +x packages/cli/dist/index.js",
"build": "npm run build:cleanup && npm run build:packages && npm run build:copy-dist && npm run build:add-shebang",
"start": "npm run start --workspace packages/cli",
"lint": "eslint . --fix",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"access": "public"
},
"bin": {
"napi": "dist/index.js"
"napi": "dist/src/index.js"
},
"pkg": {
"assets": [
Expand Down Expand Up @@ -51,7 +51,7 @@
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"start": "node dist/src/index.js",
"test": "vitest",
"npm:publish": "npm publish",
"binaries:build": "pkg ./package.json",
Expand Down

0 comments on commit 808b558

Please sign in to comment.