use a go-npm fork by me lol

This commit is contained in:
2023-12-11 12:36:41 +01:00
parent 250e512d40
commit 277d347c96
3 changed files with 11 additions and 5 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
.idea .idea
dist/ dist/
.node_modules node_modules

View File

@@ -13,9 +13,11 @@ before:
- go mod tidy - go mod tidy
builds: builds:
- env: - binary: create-react-component
- CGO_ENABLED=0
goos: goos:
- linux
- windows - windows
- darwin - darwin
- linux
goarch:
- amd64
- arm64

View File

@@ -4,8 +4,12 @@
"private": false, "private": false,
"repository": "https://github.com/ershisan99/create-react-component", "repository": "https://github.com/ershisan99/create-react-component",
"description": "A simple CLI tool to create react component", "description": "A simple CLI tool to create react component",
"files": [
"dist",
"postinstall.js"
],
"dependencies": { "dependencies": {
"@gzuidhof/go-npm": "^0.1.13" "@ershisan99/go-npm": "^0.1.13"
}, },
"scripts": { "scripts": {
"postinstall": "go-npm install", "postinstall": "go-npm install",