2.4.0 • Published 5 years ago

gist-publish-npm v2.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

gist-publish-npm

Publish a Gist to npm as a scoped package.

npm install -g gist-publish-npm

Usage

gist-publish-npm [gist-id, ...]

Pass a list of Gist IDs to publish.

This tool assumes:

  • You've already run npm login, or you trust me with your npm login deets and can work out how to pass them in
  • Your Gist has a single .js file
    • That should be the entry point of the module
    • Whose basename should be the name of the module
  • Your Github username is a reasonable thing to use as the package scope

Package versions

Your Gist will be published with the version 1.<number of commits minus one>.0. A Gist with one commit is thus published as 1.0.0.

Dependencies

Any require calls in your main will be added to package.json as dependencies, using the latest published version.

Licence

MIT.

2.4.0

5 years ago

2.3.0

6 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.4.0-4

8 years ago

1.4.0-3

8 years ago

1.4.0-2

8 years ago

1.4.0-1

8 years ago

1.4.0-0

8 years ago

1.3.0

8 years ago

1.2.5

8 years ago

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago