react-schematics-ts

1.0.1 • Public • Published

under development

component-gen

Generate react component with storybook and unit test(snapshot by enzyme) file by schematics

Usage

$ npm run gen -- --name=Header --path=src/components

$ tree src/components/Header/

src/components/Header/
├── Header.tsx
├── Header.test.tsx

Install

$ npm install --save-dev @angular-devkit/schematics-cli react-schematics-ts

Setup

in package.json

  "scripts": {
    "gen": "schematics react-schematics-ts:react"
  }

Readme

Keywords

Package Sidebar

Install

npm i react-schematics-ts

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

1.57 MB

Total Files

22

Last publish

Collaborators

  • yuqiuge