mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
use bin instead index
This commit is contained in:
parent
9cdf4ef3a7
commit
92d41f4083
4
packages/cli/bin/cli.js
Executable file
4
packages/cli/bin/cli.js
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
process.env.NODE_ENV = "production"
|
||||
|
||||
import "../src/index.js"
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@ragestudio/comty-cli",
|
||||
"description": "Command line interface for Comty Services",
|
||||
"version": "0.1.2",
|
||||
"version": "0.2.1",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
@ -9,7 +9,7 @@
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"comty-cli": "./src/index.js"
|
||||
"comty-cli": "./bin/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node ./src/index.js"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
import fs from "node:fs"
|
||||
import path from "node:path"
|
||||
import { Command } from "commander"
|
||||
|
Loading…
x
Reference in New Issue
Block a user