Skip to content

Commit

Permalink
Tar all builds. Better npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
firecow committed Jan 6, 2020
1 parent 962a710 commit 5d55863
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea/
node_modules/
dist/
bin/
test.sh
test_copy_to_usr_bin.sh
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"name": "gitlab-runner-local",
"main": "index.js",
"scripts": {
"build-linux": "pkg dist/index.js -t node12-linux-x64 -o ./bin/linux/gitlab-runner-local",
"build-macos": "pkg dist/index.js -t node12-macos-x64 -o ./bin/macos/gitlab-runner-local",
"build-win": "pkg dist/index.js -t node12-win-x64 -o ./bin/win/gitlab-runner-local",
"build-linux": "pkg dist/index.js -t node12-linux-x64 -o ./bin/linux/gitlab-runner-local && tar -czvf bin/linux.gz bin/linux/",
"build-macos": "pkg dist/index.js -t node12-macos-x64 -o ./bin/macos/gitlab-runner-local && tar -czvf bin/macos.gz bin/macos/",
"build-win": "pkg dist/index.js -t node12-win-x64 -o ./bin/win/gitlab-runner-local && tar -czvf bin/win.gz bin/win/",
"build-all": "npm run build-linux && npm run build-macos && npm run build-win",
"build": "tsc",
"lint": "tslint --project .",
"lint-fix": "tslint --fix --project ."
},
"bin": "dist/index.js",
"dependencies": {
"ansi-colors": "4.1.1",
"dateformat": "3.0.3",
"dot-prop": "5.2.0",
"glob": "7.1.6",
"pretty-hrtime": "^1.0.3",
"shelljs": "0.8.3",
"winston": "3.2.1",
"yaml": "1.7.2",
"yargs": "15.1.0"
"ansi-colors": "4.x",
"dateformat": "3.x",
"dot-prop": "5.x",
"glob": "7.x",
"pretty-hrtime": "1.x",
"shelljs": "0.x",
"winston": "3.x",
"yaml": "1.X",
"yargs": "15.x"
},
"pkg": {
"targets": [
Expand All @@ -30,13 +30,13 @@
"author": "Mads Jon Nielsen <[email protected]>",
"license": "ISC",
"devDependencies": {
"@types/pretty-hrtime": "^1.0.0",
"@types/shelljs": "0.8.6",
"@types/yaml": "1.2.0",
"@types/yargs": "13.0.4",
"pkg": "4.4.2",
"source-map-support": "0.5.16",
"tslint": "5.20.1",
"typescript": "3.7.4"
"@types/pretty-hrtime": "1.x",
"@types/shelljs": "0.x",
"@types/yaml": "1.x",
"@types/yargs": "13.x",
"pkg": "4.x",
"source-map-support": "0.x",
"tslint": "5.x",
"typescript": "3.x"
}
}

0 comments on commit 5d55863

Please sign in to comment.