JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6163
  • Score
    100M100P100Q144384F
  • License Apache-2.0

Utilities.

Package Exports

  • @krakenjs/belter
  • @krakenjs/belter/dist/belter.js
  • @krakenjs/belter/dist/esm/index.js
  • @krakenjs/belter/dist/module/css
  • @krakenjs/belter/dist/module/css.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@krakenjs/belter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

belter

build status code coverage npm version apache license

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