diff --git a/.goreleaser.yml b/.goreleaser.yml index b1b279fd..67d11ea4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..10b1db6c --- /dev/null +++ b/.npmignore @@ -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 diff --git a/package.json b/package.json new file mode 100644 index 00000000..c7909cfb --- /dev/null +++ b/package.json @@ -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" + } +}