We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 945239f commit e366d5aCopy full SHA for e366d5a
2 files changed
package.json
@@ -3,6 +3,9 @@
3
"version": "0.2.0",
4
"description": "Basketry generator for documenting services that have a Typescript language target.",
5
"main": "./lib/index.js",
6
+ "bin": {
7
+ "basketry-typescript-docs": "./lib/rpc.js"
8
+ },
9
"scripts": {
10
"test": "jest",
11
"clean": "run-s -s clean:*",
@@ -13,6 +16,7 @@
13
16
"start": "node ./lib/index.js",
14
17
"prebuild": "run-s -s clean lint",
15
18
"build": "tsc",
19
+ "postbuild": "chmod +x ./lib/rpc.js",
20
"lint:eslint": "eslint src/**/*.*",
21
"fix:eslint": "eslint --fix src/**/*.*",
22
"lint:prettier": "prettier -c .",
src/rpc.ts
@@ -0,0 +1,6 @@
1
+#!/usr/bin/env node
2
+
+import { RPC } from 'basketry';
+import generator from '.';
+new RPC({ generator }).execute();
0 commit comments