File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 33 "version" : " 0.2.0" ,
44 "description" : " Basketry generator for documenting services that have a Typescript language target." ,
55 "main" : " ./lib/index.js" ,
6+ "bin" : {
7+ "basketry-typescript-docs" : " ./lib/rpc.js"
8+ },
69 "scripts" : {
710 "test" : " jest" ,
811 "clean" : " run-s -s clean:*" ,
1316 "start" : " node ./lib/index.js" ,
1417 "prebuild" : " run-s -s clean lint" ,
1518 "build" : " tsc" ,
19+ "postbuild" : " chmod +x ./lib/rpc.js" ,
1620 "lint:eslint" : " eslint src/**/*.*" ,
1721 "fix:eslint" : " eslint --fix src/**/*.*" ,
1822 "lint:prettier" : " prettier -c ." ,
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+
3+ import { RPC } from 'basketry' ;
4+ import generator from '.' ;
5+
6+ new RPC ( { generator } ) . execute ( ) ;
You can’t perform that action at this time.
0 commit comments