Skip to content

Library Standardization

Compare
Choose a tag to compare
@dchambers dchambers released this 31 Jul 11:20
· 22 commits to master since this release

Made a number of changes to make the library more consistent with other typical NPM libraries:

  1. Use karma, mocha & chai instead of jasmine for testing.
  2. Use browserify instead of webbuilder for building.
  3. Use eslint for linting.
  4. Use npm instead of Grunt as our build tool.
  5. Use standard directory names: lib -> src, spec -> test & target -> dist.
  6. Use npm test for running all tests, including a locally run browser test against Firefox, and SauceLab tests against various other browsers.
  7. Stop using jsdoc, and use example driven README.md based documentation only.
  8. Stop creating browser-modules compatible distributions of our libraries, that even we don't use.
  9. Use a master branch instead of a gh-pages branch for simplicity, and get rid of the extra styling, and links to the different presentations of the exact same content.
  10. Use : as a delimiter to indicate sub-tasks.
  11. Stop using browser detection guards within code and tests, and instead let browserify provide a consistent environment.