Skip to content

Instantly share code, notes, and snippets.

@7yl4r
Created September 29, 2015 06:30
Show Gist options
  • Save 7yl4r/f787629324c3025044e6 to your computer and use it in GitHub Desktop.
Save 7yl4r/f787629324c3025044e6 to your computer and use it in GitHub Desktop.
toolkit notes

=== Unit Testing - Mocha ===

example use: HBM-PoC

.travis.yml

language: node_js node_js:

  • 0.10 script: npm test notifications: email: on_success: change # default: change on_failure: change # default: always

package.json

"devDependencies": { "coffeelint": "~1.9.3", "chai": "^1.10.0", "mocha": "^2.0.1" }, "scripts": { "pretest": "./node_modules/.bin/coffeelint -r components", "test": "./node_modules/.bin/mocha --compilers coffee:coffee-script/register test/*.test.coffee" }

=== UI testing ===

=== improved legibility - Coffeescript ===

=== html modularization (templating) ===

* angular (v1) - includes lots of other features too!

* dust - pre-compiled string templater (for small, lightweight applications)

=== js modularization - browserify ===

* also useful: coffeeify & browserify-shim

=== css modularization - less ===

=== html/css foundation ===

* bootstrap

  • angular-ui bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment