Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.83 KB

README.md

File metadata and controls

55 lines (41 loc) · 1.83 KB

create-npm-pkg Build Status

Create npm package and git repo. + travis-ci. JS framework and library kind agnostic.

create-npm-pkg is like a create-react-app but for fast creating new super awesome npm packages.

Installation

#### GitHub CLIent about: http://hub.github.com
brew install hub

#### Your GitHub Login
echo YOUR_GH_LOGIN > ~/.gh-user

#### TravisCI CLIent
gem install travis -v 1.8.8 --no-rdoc --no-ri
travis login

#### Install
yarn global add create-npm-pkg

Usage

First time, hub (gh client) will ask you login & password for generating a token (password wont be stored)

create-npm-pkg my-awesome-package 'super awesome killer package'

create-npm-pkg output

Todo

  • Simplify installation
  • Rewrite to js
  • remove dependencies (hub, travis.rb)
  • Write tests
  • Add another helpers (update-npm-title, bump-npm-version, etc)
  • Add test framefork selector (ava, jest, _____)
  • Add complete message
  • Install yarn automatically
  • Create src dir and another boilerplate files
  • gh + npm tags
  • npm name check
  • merge with create-npm-package?. create-npm-package is focusing on local bootstraping only.
  • embed https://runkit.com/ iframe or add link to readme.md

Another npm related helpers

Pull requests are welcome 👋