newreactfile

    1.0.1 • Public • Published

    newRctFile

    Simple tool to create a React component with accompanying Jest test The generated files are oppinionated

    Install:

    npm install -g newRctFile

    Usage:

    > newreactfile SuperComponent.js
    Created  SuperComponent.js __tests__SuperComponent-test.js
    > newreactfile frontend/components/messages/NewMessage.jsx
    Created  NewMessage.jsx __tests__NewMessage-test.js
    

    TODO

    • support more templates
    • custom templates

    Install

    npm i newreactfile

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • sslash