fix(nuxt3): binary proxy for cli

This commit is contained in:
Pooya Parsa 2021-04-18 18:37:59 +02:00
parent daaf02f5e4
commit 7ee7a7a7b5
2 changed files with 8 additions and 0 deletions

2
packages/nuxt3/bin/nuxt.js Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env node
require('nuxt-cli/bin/nuxt')

View File

@ -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",