GDC JavaScript utilities
This repo contains some basic utilities used among JavaScript frontend
applications at GoodData. Utils use babel for packaging,
so that you can use ES6 modules & syntax.
Setup
-
Install Node.js
-
Run yarn install
to install the dependencies
Development
To run tests, run the following command:
yarn test
For releasing new version, run the following command:
./ci/release.sh [major|minor|patch]
Default version increment is patch.
Build info
This repo has 2 builds:
-
ES modules (/es
) - primary transpiled TypeScript build which uses lodash-es
(useful for webpack 2+ and tree-shaking)
-
CommonJS modules (/lib
) - it's transpiled ES build with babel and lodash-es
is replaced by lodash