mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
refactor(cli): add bin file
This commit is contained in:
parent
50e5e5fa22
commit
8a0a46380d
2 changed files with 7 additions and 1 deletions
packages/cli
2
packages/cli/bin/logto
Executable file
2
packages/cli/bin/logto
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env node
|
||||
require('../lib/index.js');
|
|
@ -6,8 +6,12 @@
|
|||
"homepage": "https://github.com/logto-io/logto#readme",
|
||||
"license": "MPL-2.0",
|
||||
"main": "lib/index.js",
|
||||
"bin": "lib/index.js",
|
||||
"bin": {
|
||||
"logto": "bin/logto",
|
||||
"lg": "bin/logto"
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
"lib"
|
||||
],
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue