@slimio/generator
Version:
SlimIO Project Generator
52 lines (41 loc) • 2.49 kB
Markdown
# Generator

[](https://github.com/SlimIO/Generator/commit-activity)
[](https://github.com/SlimIO/Generator/blob/master/LICENSE)


[](https://snyk.io//test/github/SlimIO/Generator?targetFile=package.json)
[](https://travis-ci.com/SlimIO/Generator)
SlimIO Project Generator. This project has been created to help SlimIO contributors **to generate new project without to have to worry** about required files and configuration (as required by the Governance and psp policies).
<p align="center">
<img src="https://i.imgur.com/kGzMr74.png">
</p>
## Requirements
- [Node.js](https://nodejs.org/en/) v12 or higher
## Getting Started
```bash
$ git clone https://github.com/SlimIO/Generator.git
$ cd Generator
$ npm ci
$ npm link
```
## Usage example
The package will install globally the command `generator`. Just run this command with no arguments and it will generate a new SlimIO project on the current working dir.
```bash
$ mkdir project
$ cd project
$ generator
```
## Dependencies
|Name|Refactoring|Security Risk|Usage|
|---|---|---|---|
|[@slimio/async-cli-spinner](https://github.com/SlimIO/Async-cli-spinner)|Minor|Low|Multi async cli spinner|
|[@slimio/manifest](https://github.com/SlimIO/Manifester#readme)|Minor|Low|Manifest config file|
|[@slimio/nodejs-downloader](https://github.com/SlimIO/nodejs-downloader#readme)|Minor|High|Download Node.js|
|[@slimio/npm-registry](https://github.com/SlimIO/npm-registry#readme)|Minor|Low|NPM registry API|
|[@slimio/utils](https://github.com/SlimIO/Utils#readme)|Minor|High|Bunch of useful functions|
|[cross-spawn](https://github.com/moxystudio/node-cross-spawn)|Minor|High|TBC|
|[kleur](https://github.com/lukeed/kleur)|Minor|Low|TTY color|
|[qoa](https://github.com/klaussinani/qoa#readme)|Minor|Low|Minimal interactive command-line prompts|
## License
MIT