Skip to content

olalonde/es6-npm-package-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es6-npm-package-scaffold

Opinionated npm package scaffold / template.

usage

PROJECT=newproject
git clone https://github.com/olalonde/es6-npm-package-scaffold.git "$PROJECT"
cd $PROJECT && ./init.sh

devDependencies

  • eslint + AirBnB style guide
  • babel for transpiling to es5
  • blue-tape for tests (like substack/tape but promise aware)
  • conventional-recommended-bump for automated versioning

scripts

npm run release runs tests, bumps version using conventional recommended bump, pushes git tags, compiles src/ to lib/ and publishes on npm

npm test runs lint and tests in test/

npm run lint runs lint only

npm run build uses babel to compile src/ to lib/

npm run clean deletes lib/

Recommended:

npm install -g cz-cli and git cz to help with angular style commits.

todo

package for yeoman

About

Opinionated npm package scaffold / template

Resources

Stars

Watchers

Forks

Packages

No packages published