paint-brush
A package that creates a package!by@matteo_gabriele
209 reads

A package that creates a package!

by Matteo GabrieleMay 7th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How to quickly start coding your next npm package

Company Mentioned

Mention Thumbnail
featured image - A package that creates a package!
Matteo Gabriele HackerNoon profile picture

How to quickly start coding your next npm package

I was tired of typing same stuff over and over, to maybe just see if something was possible or not; so meanwhile I was trying to have an idea for another package, I’ve created a package that makes a package…quickly

It’s called create-npm-package

It checks for you if the package name is available, it grabs your global git information so it can fill in your data in the package.json file, it drops a scaffold with some webpack configurations and few devDependencies and it also initialize a git repository: that’s it!

I still don’t know how much I can evolve this package, since I would like it to be pretty generic, but we’ll see.

Please drop some ideas or questions on my Github repo here and I hope you will find it useful: at least I do!