Calculator project that bundles es6-modules with Rollup. Tests use Jasmine and are run in the browser with Karma
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
LICENSE
README.md
karma.conf.js
package.json

README.md

rollup-karma-jasmine-example

An example calculator project that bundles es6-modules with Rollup. Tests use Jasmine and are run in the browser with Karma.

Setup

  • This example requires node/npm to run, set these up first if not already done.

  • Clone the repository

    $ git clone git@github.com:CrowdHailer/rollup-karma-jasmine-example.git
    $ cd rollup-karma-jasmine-example
    
  • Fetch all the node dependencies

    $ npm install
    

Usage

  • Tests can be run using the npm test script

    $ npm -s test
    
  • The calculator can be bundled using the npm build script.

    $ npm run build