0.0.12 • Published 8 years ago

shizam v0.0.12

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

shizam 🔮⚡️

npm.io

opinionated project scaffolding for libraries. one yarn add --dev shizam install automatically wires:

  • lint scripts, via standard
  • lint & test task runs on git precommit, using husky
  • automatic jsdoc publishing, post-package publish

why

writing boilerplate code over and over stinks. many of us start new projects all the time and want to easily distribute the structure and methodologies used in all of our projects. this tiny package simply helps scaffold a common project structure and best of best-known-methods via npm scripts.

"ugh, what's the problem with just doing these things on my own?"

nothing! i, however, found that xkcd justified the effort. it's great to start a project, install just one package (this one), and automatically have a basic set of scripts and tooling ready-to-roll. #not-a-framework.

how

specifically, this package does the following to your project:

  • install common npm scripts (e.g. "test", "prepublish", etc)
  • installs common pre-commit hooks (e.g. lint, test)
  • installs packages that are required for the above tasks to be successful

this package lets you modify the default scripts to your own requirements post-install. on re-install or update, it will NOT squash your modified scripts. it will, however, continue to install dev dependencies that it thinks are mandatory on subsequent installs.

what opinions are assumed?

this module scaffolds the following topics using the following packages:

  • git precommit hooks (test & lint). bring your own test: ... script.
  • linting (standard)
  • docs
    • doc generation (jsdoc)
    • doc publishing to github.io (gh-pages, publishes on npm postpublish)

required devDependencies are installed whenever shizam is installed/updated/etc iff they are missing.

usage

yarn add --dev shizam

everything else happens automatically! and that's the point :)

contributing

go for it.

0.0.12

8 years ago

0.0.11

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago