1.0.6 • Published 6 years ago
@zzindexx/generator-node-react-ts v1.0.6
@zzindexx/node-react-ts
This generator allows you to create a simple Node.js web application project. The generated project would support React.js, TypeScript and jQuery.
The template without generator could be found here.
Prerequisites
This generator is designed for Yeoman, so you should install Yeoman:
npm install yo -gInstallation
The generator should be installed from npm:
npm install -g @zzindexx/generator-node-react-tsUsage
To create a new project run the following command:
yo @zzindexx/node-react-tsAfter the files and folders structure is created go to the newly created folder for your application and run:
cd <myapp>
npm iTo test the application simply run:
npm startBundling for production
To bundle the created application for production run:
npx webpack --config webpack.prod.config.js