Skip to content

Commit

Permalink
fix(nuxt3): binary proxy for cli
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 18, 2021
1 parent daaf02f commit 7ee7a7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nuxt3/bin/nuxt.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('nuxt-cli/bin/nuxt')
6 changes: 6 additions & 0 deletions packages/nuxt3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
"license": "MIT",
"main": "./dist/index.js",
"files": [
"bin",
"dist"
],
"scripts": {
"prepack": "unbuild"
},
"bin": {
"nu": "./bin/nuxt.js",
"nuxt": "./bin/nuxt.js",
"nuxt-cli": "./bin/nuxt.js"
},
"dependencies": {
"@nuxt/app": "^0.3.1",
"@nuxt/kit": "^0.5.0",
Expand Down

0 comments on commit 7ee7a7a

Please sign in to comment.