Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
Update zip scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmack committed Jun 27, 2021
1 parent a2d8dd7 commit 046f14c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
"tsc": "./node_modules/typescript/bin/tsc",
"package": "nexe -t v14.15.3 -o dist/sudt-cli -r ./node_modules/ build/index.js",
"package-linux": "nexe -t linux-x64-14.15.3 -o dist/sudt-cli-$npm_package_version-linux-x64/sudt-cli -r ./node_modules/ build/index.js",
"package-mac": "nexe -t mac-x64-14.15.3 -o dist/sudt-cli-$npm_package_version-mac-x64/sudt-cli -r ./node_modules/ build/index.js",
"package-macos": "nexe -t mac-x64-14.15.3 -o dist/sudt-cli-$npm_package_version-macos-x64/sudt-cli -r ./node_modules/ build/index.js",
"package-windows": "nexe -t windows-x64-14.15.3 -o dist/sudt-cli-$npm_package_version-windows-x64/sudt-cli.exe -r ./node_modules/ build/index.js",
"build": "npm run clean && npm run compile && npm run package",
"build-all": "npm run clean && npm run compile && npm run package-linux && npm run package-mac && npm run package-windows",
"bump": "npm --no-git-tag-version version patch"
"build-all": "npm run clean && npm run compile && npm run package-linux && npm run package-macos && npm run package-windows",
"bump": "npm --no-git-tag-version version patch",
"zip-linux": "cd dist && tar cjf ./sudt-cli-$npm_package_version-linux-x64.tar.bz2 ./sudt-cli-$npm_package_version-linux-x64/*",
"zip-macos": "cd dist && zip -9 ./sudt-cli-$npm_package_version-macos-x64.zip ./sudt-cli-$npm_package_version-macos-x64/*",
"zip-windows": "cd dist && zip -9 ./sudt-cli-$npm_package_version-windows-x64.zip ./sudt-cli-$npm_package_version-windows-x64/*",
"zip-all": "npm run zip-linux && npm run zip-macos && npm run zip-windows"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 046f14c

Please sign in to comment.