0
Fork 0
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:
Gao Sun 2022-10-03 20:27:06 +08:00
parent 50e5e5fa22
commit 8a0a46380d
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
2 changed files with 7 additions and 1 deletions
packages/cli

2
packages/cli/bin/logto Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env node
require('../lib/index.js');

View file

@ -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": {