From 281d72eb3b3990254158a93edf8e8a355209bfc1 Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Thu, 7 Mar 2019 14:06:25 -0500 Subject: [PATCH] skip: build process replacements for easier deployment --- .goreleaser.yml | 7 ------- package.json | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e0d5d410..5b066333 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,13 +19,6 @@ builds: - amd64 - arm - arm64 -archive: - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 checksum: name_template: 'checksums.txt' snapshot: diff --git a/package.json b/package.json index 6734dc15..08ef3b60 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "description": "Flutter Version Management: A simple cli to manage Flutter SDK versions.", "main": "index.js", "scripts": { + "postinstall": "go-npm install", + "preuninstall": "go-npm uninstall", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {