eurostat-map.js is now bundled and compiled using webpack & babel.
-- Clone the repository -- cd into eurostat-map.js -- with node.js installed run "npm install"
-- run "npm run build-dev" This will use the configuration in webpack.config.dev.js to build a non-minified development bundle containing source maps and place it in the /build folder as eurostatmap.js
-- run "npm run build-prod" This will use the configuration in webpack.config.prod.js to build a minified development bundle without source maps and place it in the /build folder as eurostatmap.min.js
To run tests, use "npm test". This will execute all files with the suffix .test.js in /test/jest/ using jest. Jest will execute the code in these files using headless chrome and output the results.