Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 1.25 KB

File metadata and controls

82 lines (52 loc) · 1.25 KB

quark-package-starter

Simple repository to start a new quark package.

This package is part of quark framework but it can be used independently.

Installation

npm install quark-simple --save

Usage

Basic

Basic example.

import Simple from 'quark-simple'

const simple = new Simple()
simple.test()

API

See https://fm-ph.github.io/quark-package-starter/

Build

To build the sources with babel in ./lib directory :

npm run build

Documentation

To generate the JSDoc :

npm run docs

To generate the documentation and deploy on gh-pages branch :

npm run docs:deploy

Testing

To run the tests, first clone the repository and install its dependencies :

git clone https://github.com/fm_ph/quark-package-starter.git
cd quark-package-starter
npm install

Then, run the tests :

npm test

To watch (test-driven development) :

npm run test:watch

For coverage :

npm run test:coverage

License

MIT License © Patrick Heng Fabien Motte