README
dotstatsuite-sdmxjs
A library that collects sdmx parsers with proper unit tests and documentation. Currently used in data-explorer and data-lifecycle-manager applications.
File organisation
.
├── src # source code
│ ├── foo.js # function implementation/interface
│ ├── index.js # library interface
├── tests # tests
│ ├── foo.test.js # test implementation of foo
Prerequisites
Node.js >= 6 must be installed.
Installation
- Running
npm install
in the component's root directory will install everything you need for development.
Running Tests
npm test
will run the tests once.npm run test:coverage
will run the tests and produce a coverage report incoverage/
.npm run test:watch
will run the tests on every change.
only
src
is tested, demo is not tested
Building
npm run build
will build the component for publishing to npm and also bundle the demo app.npm run clean
will delete built resources.
Documentation server
npm start
will run a documentation server at http://localhost:3000 with hot module reloading.