Wondering what’s next for npm?Check out our public roadmap! »

    digitalrcc

    1.1.3 • Public • Published

    react create component

    create react component from command line

    install : npm i -g digitalrcc;

    use: digitalrcc name -e js -p -s css -d -r ;

    use 2: digitalrcc name -e -S -s -d;

    params:

    -alias --fullname [optional] 'discription' 'default'

    '-e, --ext ', 'extention of file', 'js';

    '-p, --pureC [type]', 'extends with PureComponent', false;

    '-s, --style [type]', 'include (or)css file';

    '-d, --dir', 'create new directory', false;

    '-r, --withRedux', 'file with redux', false;

    '-S, --stateless', 'stateless component', false;

    update v1.1.1

    • lifecycle hooks added

    update v1.1.3

    • lifecycle issue fixed and commented

    Install

    npm i digitalrcc

    DownloadsWeekly Downloads

    0

    Version

    1.1.3

    License

    ISC

    Unpacked Size

    4.84 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar