The Wayback Machine - https://web.archive.org/web/20200905104517/https://github.com/krakenjs/belter/
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 6, 2020
Aug 27, 2020
src
Aug 27, 2020
Jul 18, 2020
Aug 27, 2020
Mar 20, 2020
Jan 18, 2017
Jul 30, 2018
Jan 18, 2017
Aug 21, 2018
Aug 27, 2020

README.md

belter

Miscellaneous browser utils and tools.

Quick Start

Getting Started

  • Fork the module
  • Run setup: npm run setup
  • Start editing code in ./src and writing tests in ./tests
  • npm run build

Building

npm run build

Tests

  • Edit tests in ./test/tests

  • Run the tests:

    npm run test

Testing with different/multiple browsers

npm run karma -- --browser=PhantomJS
npm run karma -- --browser=Chrome
npm run karma -- --browser=Safari
npm run karma -- --browser=Firefox
npm run karma -- --browser=PhantomJS,Chrome,Safari,Firefox

Keeping the browser open after tests

npm run karma -- --browser=Chrome --keep-open

Publishing

  • Publish your code: npm run release to add a patch
    • Or npm run release:path, npm run release:minor, npm run release:major
You can’t perform that action at this time.