diff --git a/.gitignore b/.gitignore index c0401a7..e3a5fdf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .idea dist/ -.node_modules \ No newline at end of file +node_modules \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0e5b6ca..5c47147 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,9 +13,11 @@ before: - go mod tidy builds: - - env: - - CGO_ENABLED=0 + - binary: create-react-component goos: - - linux - windows - darwin + - linux + goarch: + - amd64 + - arm64 \ No newline at end of file diff --git a/package.json b/package.json index c4ba046..6549c89 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,12 @@ "private": false, "repository": "https://github.com/ershisan99/create-react-component", "description": "A simple CLI tool to create react component", + "files": [ + "dist", + "postinstall.js" + ], "dependencies": { - "@gzuidhof/go-npm": "^0.1.13" + "@ershisan99/go-npm": "^0.1.13" }, "scripts": { "postinstall": "go-npm install",