0.5.0 • Published 6 years ago

sirko v0.5.0

Weekly downloads
11
License
GPL-3.0
Repository
github
Last release
6 years ago

Sirko Client

Build Status

It is a JavaScript client for the Sirko Engine. This client tracks information about navigation of users on a site and gets prediction from the engine in order to improve performance of the site by prefetching resources which are required for a next page.

Try demo

Development

Major dependencies

  • Rollup creates a bundle which should be included into the site.
  • Rollup Bubel compiles ES2015 with Rollup.
  • Karma runner launches tests in different browsers to prove that the client works fine.
  • Mocha framework is a JavaScript test framework.
  • Chai is an assertion lib for tests.

Setup

Install dependencies:

$ npm install

Start

$ npm start

This command launches Rollup in the development mode (all scripts get recompiled once changes are saved).

Testing

$ npm test

It will launch the Chrome and Firefox browsers and keep them running to re-launch tests when the code gets changed.

Production build

$ npm run-script build

It builds the dist/sirko.js script which should be included into the site.

License

The library is distributed under the GPLv3 license.

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago