Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 633 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 633 Bytes

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