Skip to content

Commit

Permalink
pkg in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
meoyawn committed Nov 28, 2022
1 parent 93872c5 commit 1c2cc6d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release/
12 changes: 10 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -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/"
}
}

0 comments on commit 1c2cc6d

Please sign in to comment.