File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"name" : " mindc" ,
3
3
"version" : " 1.0.0" ,
4
4
"description" : " A ts cli to interact with Mind-Smart-Chain" ,
5
- "main" : " ./dist/cli.js" ,
5
+ "main" : " ./dist/src/ cli.js" ,
6
6
"bin" : {
7
- "mind-cli" : " ./dist/cli.js"
7
+ "mind-cli" : " ./dist/src/ cli.js"
8
8
},
9
9
"files" : [
10
10
" dist"
Original file line number Diff line number Diff line change 1
1
const { build } = require ( 'esbuild' ) ;
2
2
3
3
build ( {
4
- entryPoints : [ 'dist/cli.js' ] ,
4
+ entryPoints : [ 'dist/src/ cli.js' ] ,
5
5
bundle : true ,
6
6
platform : 'node' ,
7
7
outfile : 'mind-cli.js'
Original file line number Diff line number Diff line change 1
1
const { build } = require ( 'esbuild-wasm' ) ;
2
2
3
3
build ( {
4
- entryPoints : [ 'dist/cli.js' ] ,
4
+ entryPoints : [ 'dist/src/ cli.js' ] ,
5
5
bundle : true ,
6
6
platform : 'node' ,
7
7
outfile : 'mind-cli.js'
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+
3
+ import { runCLI } from "./index" ;
4
+
5
+
6
+ runCLI ( ) ;
You can’t perform that action at this time.
0 commit comments