unifier-cli
is a front-end tool, that created for unifying all configs, structure, and share base codebase within different Requestum projects.
With this tool you can create three types of project:
- Angular
- Markup
Node JS, Typescript
For use this package you need to pre-install the NodeJS and npm to your computer.
You can use it with npm
:
npm i -g unifier-cli
Or use it with npx
without installing:
npx unifier-cli
For creating a new project:
unifier-cli
Then the command line prompt should ask some questions about your project, and generate it in the current directory after you answer on questions.
You also can use command line arguments, like:
unifier-cli <project name>
Also, you can use additional arguments:
--type=<type>
- tells CLI that it should create a project with that type. Getangular
,markup
oremail
value.--skip-git
- tells CLI that it should create a project without initialisation of git repository.
For development purposes you must clone this repo and run npm i
or npm install
command.
Rebuild code on every .ts
file change
npm run dev
Compile .ts
files into .js
and copy all git submodules
npm run build
Explain how to run the automated tests for this system
For running tests
npm run test
For checking tests coverage
npm run coverage
Lint your .ts
files
npm run lint