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
dist/
.node_modules
node_modules

View File

@@ -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

View File

@@ -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",