An open API service indexing awesome lists of open source software.

https://github.com/davidedaniel/jinn


https://github.com/davidedaniel/jinn

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

### Jinn
---
###### v 0.2.2
Thanks to node-plop & plop, this cli boilerplate generator also has prompts via inquirer.

#### Install
` $ npm install @hackoregon/jinn --save-dev`

#### Docs
```bash
Usage
$ jinn
$ npm run jinn --

Commands
-j generate .jinnrc file with view and state paths
-h, --help show help menu
-v, --view generate [func, class, pure] view template with specified
-d, --duck generate duck template with
--prompt generate with prompts
-version get jinn package version

Options
-p, --package option to generate view as it's own package
--desc add description to package via command line
-a, --all option to generate with story, css and connected version
-r, --reselect option to generate duck template with reselect
-s, --story option to add story file to view template
-c, --css option to add css modules file to view template
-x option to add connected version of component to view template

Examples
jinn -v Map -p -s generate boilerplate for a Map component as a package with storybook file included
jinn -v Button func -a generate boilerplate for a Button functional component with all options
jinn -v Cart class -c generate boilerplate Cart class component with css modules
jinn -d App generate boilerplate for App duck
```