Skip to content

Commit

Permalink
fix(bin): fix bin command
Browse files Browse the repository at this point in the history
  • Loading branch information
radyakaze committed Aug 12, 2024
1 parent f787ae3 commit 5e831d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions bin/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

import '../dist/bin/index.mjs'
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"files": [
"dist"
"dist",
"template",
"bin"
],
"bin": "./dist/bin/index.mjs",
"bin": "./bin/index.mjs",
"scripts": {
"prepack": "nuxt-module-build build",
"dev": "nuxi dev playground",
Expand Down

0 comments on commit 5e831d4

Please sign in to comment.