clingon
Version:
Multipurpose generator CLI based on local config and templates
42 lines (35 loc) • 1.5 kB
YAML
# ┌-----------------------------------------------------------------┐
# ⎪ Auto generated by Clingon CLI ⎪
# ⎪ This file is only a example, feel free to edit them ⎪
# ⎪ ⎪
# ⎪ In the README file you will find more details and a complete ⎪
# ⎪ guide on how to use this feature: .clingon/templates/README.md ⎪
# ⎪ ------------------------------- ⎪
# ⎪ AFTER READ, REMOVE THIS SECTION ⎪
# └-----------------------------------------------------------------┘
# React Component
- identifier: component
folderWrapper: true
resources:
- path: src/components
template: ./components/react-component/index.tsx
- path: src/components
template: ./components/react-component/Component.tsx
- path: src/components
template: ./components/react-component/Component.test.tsx
- path: src/components
template: ./components/react-component/Component.stories.tsx
- path: src/components
template: ./components/react-component/Component.styles.css
# Async Function
- identifier: async-function
resources:
- path: src/utils
template: ./functions/AsyncFunction.ts
- path: src/utils
template: ./functions/AsyncFunction.spec.ts
# Markdown
- identifier: hook-doc
resources:
- path: src/docs/hooks
template: ./docs/HookDoc.md