Skip to content

Commit 5d55863

Browse files
committed
Tar all builds. Better npm dependencies
1 parent 962a710 commit 5d55863

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.idea/
22
node_modules/
33
dist/
4+
bin/
45
test.sh
56
test_copy_to_usr_bin.sh

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
"name": "gitlab-runner-local",
33
"main": "index.js",
44
"scripts": {
5-
"build-linux": "pkg dist/index.js -t node12-linux-x64 -o ./bin/linux/gitlab-runner-local",
6-
"build-macos": "pkg dist/index.js -t node12-macos-x64 -o ./bin/macos/gitlab-runner-local",
7-
"build-win": "pkg dist/index.js -t node12-win-x64 -o ./bin/win/gitlab-runner-local",
5+
"build-linux": "pkg dist/index.js -t node12-linux-x64 -o ./bin/linux/gitlab-runner-local && tar -czvf bin/linux.gz bin/linux/",
6+
"build-macos": "pkg dist/index.js -t node12-macos-x64 -o ./bin/macos/gitlab-runner-local && tar -czvf bin/macos.gz bin/macos/",
7+
"build-win": "pkg dist/index.js -t node12-win-x64 -o ./bin/win/gitlab-runner-local && tar -czvf bin/win.gz bin/win/",
88
"build-all": "npm run build-linux && npm run build-macos && npm run build-win",
99
"build": "tsc",
1010
"lint": "tslint --project .",
1111
"lint-fix": "tslint --fix --project ."
1212
},
1313
"bin": "dist/index.js",
1414
"dependencies": {
15-
"ansi-colors": "4.1.1",
16-
"dateformat": "3.0.3",
17-
"dot-prop": "5.2.0",
18-
"glob": "7.1.6",
19-
"pretty-hrtime": "^1.0.3",
20-
"shelljs": "0.8.3",
21-
"winston": "3.2.1",
22-
"yaml": "1.7.2",
23-
"yargs": "15.1.0"
15+
"ansi-colors": "4.x",
16+
"dateformat": "3.x",
17+
"dot-prop": "5.x",
18+
"glob": "7.x",
19+
"pretty-hrtime": "1.x",
20+
"shelljs": "0.x",
21+
"winston": "3.x",
22+
"yaml": "1.X",
23+
"yargs": "15.x"
2424
},
2525
"pkg": {
2626
"targets": [
@@ -30,13 +30,13 @@
3030
"author": "Mads Jon Nielsen <madsjon@gmail.com>",
3131
"license": "ISC",
3232
"devDependencies": {
33-
"@types/pretty-hrtime": "^1.0.0",
34-
"@types/shelljs": "0.8.6",
35-
"@types/yaml": "1.2.0",
36-
"@types/yargs": "13.0.4",
37-
"pkg": "4.4.2",
38-
"source-map-support": "0.5.16",
39-
"tslint": "5.20.1",
40-
"typescript": "3.7.4"
33+
"@types/pretty-hrtime": "1.x",
34+
"@types/shelljs": "0.x",
35+
"@types/yaml": "1.x",
36+
"@types/yargs": "13.x",
37+
"pkg": "4.x",
38+
"source-map-support": "0.x",
39+
"tslint": "5.x",
40+
"typescript": "3.x"
4141
}
4242
}

0 commit comments

Comments
 (0)