File tree Expand file tree Collapse file tree 6 files changed +15
-7
lines changed Expand file tree Collapse file tree 6 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
- lib
1
+ dist
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
import { main } from "../dist/index.js" ;
3
- main ( ) ;
3
+ main ( ) . argv ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pythnetwork/entropy-tester" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Utility to test entropy provider callbacks" ,
5
5
"type" : " module" ,
6
6
"main" : " dist/index.js" ,
16
16
" cli/**/*"
17
17
],
18
18
"scripts" : {
19
- "build" : " tsc" ,
19
+ "build" : " tsc --project tsconfig.build.json " ,
20
20
"fix:format" : " prettier --write ." ,
21
21
"fix:lint" : " eslint --fix ." ,
22
22
"test:format" : " prettier --check ." ,
23
23
"test:lint" : " eslint . --max-warnings 0" ,
24
24
"test:types" : " tsc" ,
25
- "start" : " tsc && node cli/run.js"
25
+ "start:dev" : " tsc --project tsconfig.build.json && node cli/run.js" ,
26
+ "start:prod" : " node cli/run.js"
26
27
},
27
28
"repository" : {
28
29
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ const RUN_OPTIONS = {
153
153
} as const ;
154
154
155
155
export const main = function ( ) {
156
- yargs ( hideBin ( process . argv ) )
156
+ return yargs ( hideBin ( process . argv ) )
157
157
. parserConfiguration ( {
158
158
"parse-numbers" : false ,
159
159
} )
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "outDir" : " ./dist" ,
5
+ "noEmit" : false
6
+ }
7
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " @cprussin/tsconfig/nextjs.json" ,
3
- "include" : [" **/*.ts" , " **/*.tsx " ],
3
+ "include" : [" **/*.ts" ],
4
4
"exclude" : [" node_modules" ]
5
5
}
You can’t perform that action at this time.
0 commit comments