Skip to content

Commit

Permalink
feat<cli>: added packaging tools
Browse files Browse the repository at this point in the history
  • Loading branch information
dethMastery committed Oct 10, 2024
1 parent ec2087a commit b4ab74f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/.vscode
/node_modules
.DS_Store
.DS_Store
dist

pnpm-lock.yaml
yarn.lock
19 changes: 18 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,29 @@
"fs": "^0.0.1-security",
"os": "^0.1.2",
"path": "^0.12.7",
"pkg": "^5.8.1",
"yargs": "^17.2.1"
},
"scripts": {
"dev": "node ./bin/cli.js"
"dev": "node ./bin/cli.js",
"build": "pkg ."
},
"bin": {
"d-mark": "./bin/cli.js"
},
"pkg": {
"scripts": "bin/**/*.js",
"targets": [
"node18-macos-arm64",
"node18-windows-arm64",
"node18-linux-arm64",
"node18-macos-x64",
"node18-windows-x64",
"node18-linux-x64"
],
"options": [
"experimental-modules"
],
"outputPath": "dist"
}
}

0 comments on commit b4ab74f

Please sign in to comment.