Skip to content

Commit

Permalink
[skip travis] replace npm distribution in main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
A.A.Abroskin committed Mar 7, 2019
1 parent 8a7e8f8 commit c51bea7
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ builds:
- darwin
- windows
archive:
replacements:
windows: Windows
darwin: MacOS
linux: Linux
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
# replacements:
# windows: Windows
# darwin: MacOS
# linux: Linux
# 386: i386
# amd64: x86_64
# format_overrides:
# - goos: windows
# format: zip
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
Expand Down
19 changes: 19 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.vscode/
.hookah-local/
.hookah/
/hookah-local.yml
/hookah.yml
hookah

tmp/
dist/
cmd/
context/
spec/
.goreleaser.yml
.travis.yml
Gemfile
Gemfile.lock
go.mod
go.sum
main.go
34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "@arkweid/hookah-js",
"version": "0.2.0",
"description": "Simple git hooks manager",
"repository": "https://github.com/Arkweid/hookah",
"keywords": [
"git",
"hook",
"manager"
],
"author": "Arkweid",
"license": "MIT",
"bugs": {
"url": "https://github.com/Arkweid/hookah/issues"
},
"homepage": "https://github.com/Arkweid/hookah#readme",
"os": [
"darwin",
"linux",
"win32"
],
"scripts": {
"postinstall": "go-npm install",
"preuninstall": "go-npm uninstall"
},
"goBinary": {
"name": "hookah",
"path": "./bin",
"url": "https://github.com/Arkweid/hookah/releases/download/v{{version}}/hookah_{{version}}_{{platform}}_{{arch}}.tar.gz"
},
"dependencies": {
"go-npm": "^0.1.9"
}
}

0 comments on commit c51bea7

Please sign in to comment.