This repository contains most essential TypeScript utility packages used at MaaS Global.
The code is divided into several independent packages.
- eslint-config-maasglobal-ts contains shared eslint configuration
- maasglobal-guide-ts contains short programing guide
- maasglobal-prelude-ts contains essential imports to be shared between projects
- maasglobal-template-ts contains an example npm package with all the necessary boilerplate
The following commands should work in all packages where applicable.
npm install -g yarn # install yarn
yarn # install dependencies
yarn lint # run linters
yarn typecheck # run static type checks
yarn test # run tests
yarn eslint --fix # auto format code base
yarn ci # perform a local CI test run
yarn build # create a production build
yarn deploy-npm # deploy npm package