CLI to help automating MCA work
- Clone repository
- Run
npm link
- Watch and compile on change
npm run start
- Compile typescript to javascript with
npm run build
- Run built mca cli with
./dist/bin/mca.js
- src (Contains source files)
- bin (Starting point for cli app)
- cmd (Command line configs using yargs commandDir)
- lib (Code for to commands)
- assets (Assets required for the command line)
- dist (Build folder, same as src but with js files)
- Lint code with
npm run lint
- Fix linter errors with
npm run lint:fix
- Run tests with
npm run test
Unit tests should be in the same location as the code with added spec.ts extension. Larger integration tests should be separated to test folder.
Run npm run release
to make version bump, add tags and update CHANGELOG automatically.