diff --git a/cli/.gitignore b/cli/.gitignore new file mode 100644 index 0000000..151080d --- /dev/null +++ b/cli/.gitignore @@ -0,0 +1 @@ +release/ diff --git a/cli/package.json b/cli/package.json index ad3887e..7386b1f 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,12 +1,20 @@ { - "name": "@responsible/cli", + "name": "responsible", "version": "0.0.1", "license": "MIT", + "bin": "dist/index.js", "devDependencies": { "pkg": "^5.8.0" }, "scripts": { - "build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js --target=node18 --minify && pkg dist/index.js -o dist/index -t node18", + "build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js --target=node18 --minify && pkg package.json", "start": "node dist/index.js ../generator/tryout/listenbox.kdl" + }, + "pkg": { + "targets": [ + "node18-macos-arm64", + "node18-macos-x64" + ], + "outputPath": "release/" } }