Skip to content

Commit 6b0279d

Browse files
committed
feat: refactor as a CLI for npm publication
1 parent 30485f0 commit 6b0279d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"name": "visionBoard",
33
"version": "1.0.0",
44
"description": "Transforming Data into Actionable insights",
5-
"main": "index.js",
5+
"bin": {
6+
"visionBoard": "visionboard.js"
7+
},
68
"scripts": {
79
"lint": "standard",
810
"lint:fix": "standard --fix",

index.js renamed to visionboard.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
const { Command } = require('commander')
24
const pkg = require('./package.json')
35
const { getConfig } = require('./src/config')

0 commit comments

Comments
 (0)