File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 10
10
"test:update" : " bun test --update-snapshots" ,
11
11
"format" : " prettier ./ --ignore-unknown --write" ,
12
12
"format:check" : " prettier ./ --ignore-unknown --list-different" ,
13
- "build" : " bun build ./src/cli.ts --compile -- outfile ./dist/cli" ,
13
+ "build" : " bun build ./src/cli.ts --outfile ./dist/cli.js " ,
14
14
"typecheck" : " tsc --noEmit" ,
15
15
"prepublish" : " bun run build"
16
16
},
30
30
"typescript" : " ^5.2.2"
31
31
},
32
32
"bin" : {
33
- "openapi-static-validator" : " ./dist/cli"
34
- }
33
+ "openapi-static-validator" : " ./dist/cli.js"
34
+ },
35
+ "files" : [
36
+ " bin/**/*" ,
37
+ " src/**/*" ,
38
+ " !src/tests/**/*" ,
39
+ " !src/**/*.test.ts"
40
+ ]
35
41
}
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
1
2
import { Compiler } from './compiler' ;
2
3
import { readFileSync } from 'node:fs' ;
3
4
You can’t perform that action at this time.
0 commit comments