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 749e647 commit fe2b290Copy full SHA for fe2b290
2 files changed
package.json
@@ -3,6 +3,9 @@
3
"version": "0.2.0",
4
"description": "Basketry generator for generating Typescript interfaces",
5
"main": "./lib/index.js",
6
+ "bin": {
7
+ "basketry-react-query": "./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