https://github.com/davidedaniel/jinn
https://github.com/davidedaniel/jinn
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidedaniel/jinn
- Owner: DavideDaniel
- Created: 2017-04-19T02:37:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T02:07:47.000Z (about 8 years ago)
- Last Synced: 2025-03-16T21:39:32.015Z (2 months ago)
- Language: JavaScript
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 versionOptions
-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 templateExamples
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
```