Skip to content

Create npm package and git and :octocat: repo + travis-ci from the command line

Notifications You must be signed in to change notification settings

a-x-/create-npm-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 👋