diff --git a/package.json b/package.json index e86c9cb..fe4aaa8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "typescript": "^5.0.2" }, "bin": { - "adofai-typegen": "dist/index.js" + "adofai-typegen": "./dist/index.js" }, "publishConfig": { "registry": "https://git.pikokr.dev/api/packages/pikokr/npm/" diff --git a/src/index.ts b/src/index.ts index c87bc9a..0047dba 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ +#!/bin/env node + import { program } from 'commander' import chalk from 'chalk' import { PropertiesSchema } from './schema'