Setting up budi CLI for NPM as well.

This commit is contained in:
mike12345567 2021-03-19 10:50:25 +00:00
parent b8c265fbc8
commit f2840d1bc7
2 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,11 @@
{ {
"name": "@budibase/cli", "name": "@budibase/cli",
"version": "0.8.9", "version": "0.8.10",
"description": "Budibase CLI, for developers, self hosting and migrations.", "description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js", "main": "src/index.js",
"bin": "src/index.js", "bin": {
"budi": "src/index.js"
},
"author": "Budibase", "author": "Budibase",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {

View File

@ -1,3 +1,4 @@
#!/usr/bin/env node
const { getCommands } = require("./options") const { getCommands } = require("./options")
const { Command } = require("commander") const { Command } = require("commander")
const { getHelpDescription } = require("./utils") const { getHelpDescription } = require("./utils")