Development

Scripts

Build

Command to perform Babel compilation for distribution :

npm run build

Tests

Command to perform unit tests with Mocha :

# Simple environment test
npm run test

# Development environment test with arguments.
npm run test:dev-arg

# Development environment test with no arguments.
npm run test:dev

# Production environment test.
npm run prod

Eslint fix

Command to perform fix with Eslint :

npm run eslint