GitHub - lodni/npmexample-coffee: Example structure for a npm package written in coffee-script

1 min read Original article ↗

npmexample-coffee

Example structure for a npm package written in coffee-script. It's intent is twofold: to hold discussion about the structure of lodni's coffee-script packages on a single repository and to serve as a template or generic guideline for these same packages.

nodei.co

github-issues travis-status Circle CI build status

Features

Uh... it's just an example.

Install

npm install --save npmexample-coffee

Scripts

  • npm run clean : rimraf lib
  • npm run precompile : npm run clean -s
  • npm run compile : coffee --bare --compile --map --output lib/ src/
  • npm run prepublish : parallelshell 'npm run test -s' 'npm run lint -s'
  • npm run pretest : npm run compile -s
  • npm run test : globstar -- tape 'lib/tests/**/*.js' | faucet
  • npm run lint : coffeelint src

Dependencies

Package Version Dev
bluebird ^3.4.6
ramda ^0.22.1
blue-tape ^1.0.0
coffee-script ^1.10.0
coffeelint ^1.15.7
faucet 0.0.1
globstar ^1.0.0
parallelshell ^2.0.0
pre-commit ^1.1.3
rimraf ^2.5.4

Contributing

Contributions welcome; Please submit all pull requests the against master branch. If your pull request contains patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!

Author

Simon Kerouack simon.kerouack@lodni.com

License