fix(nuxt3): expose `nuxi` command

This commit is contained in:
Pooya Parsa 2021-10-29 13:31:56 +02:00
parent 4c17b92b66
commit b24c9348f7
2 changed files with 2 additions and 3 deletions

View File

@ -8,9 +8,7 @@
".": "./dist/index.mjs", ".": "./dist/index.mjs",
"./cli": "./bin/nuxi.mjs" "./cli": "./bin/nuxi.mjs"
}, },
"bin": { "bin": "./bin/nuxi.mjs",
"nuxi": "./bin/nuxi.mjs"
},
"files": [ "files": [
"bin", "bin",
"dist" "dist"

View File

@ -7,6 +7,7 @@
"main": "./dist/index.mjs", "main": "./dist/index.mjs",
"types": "./types.d.ts", "types": "./types.d.ts",
"bin": { "bin": {
"nuxi": "./bin/nuxt.mjs",
"nuxt": "./bin/nuxt.mjs" "nuxt": "./bin/nuxt.mjs"
}, },
"files": [ "files": [