mirror of
https://github.com/ershisan99/go-npm.git
synced 2025-12-16 20:59:28 +00:00
Fix readme, fix package name and example for windows extension
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Support for zip and non-compressed binaries.
|
||||
* Added support for `arm64` architecture.
|
||||
* Fix for use on Windows platform (the binary would get placed in the wrong place for consumers).
|
||||
* Shipped as a bundle using `esbuild`, removing 70 packages of dependencies (including huge things like Babel). Now your users will only have to download one additional package (`@guidhof/go-npm`).
|
||||
* Shipped as a bundle using `esbuild`, removing 70 packages of dependencies (including huge things like Babel). Now your users will only have to download one additional package (`@gzuidhof/go-npm`).
|
||||
|
||||
### Distribute cross-platform Go binaries via NPM
|
||||
|
||||
@@ -53,7 +53,7 @@ Answer the questions to create an initial package.json file
|
||||
|
||||
From the directory containing package.json file, do
|
||||
|
||||
`$ npm install go-npm --save`
|
||||
`$ npm install @gzuidhof/go-npm --save`
|
||||
|
||||
This will install go-npm under to your package.json file. It will also create a `node_modules` directory where the `go-npm` package is downloaded. You don't need this directory since you are only going to publish the module and not consume it yourself. Let's go ahead and delete it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user