@zzindexx/generator-node-react-ts

Generates a new Node.js web application with React.js, TypeScript and jQuery support


Keywords
yeoman-generator, node, nodejs, typescript, react, reactjs
License
MIT
Install
npm install @zzindexx/generator-node-react-ts@1.0.5

Documentation

@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 -g

Installation

The generator should be installed from npm:

npm install -g @zzindexx/generator-node-react-ts

Usage

To create a new project run the following command:

yo @zzindexx/node-react-ts

After the files and folders structure is created go to the newly created folder for your application and run:

cd <myapp>
npm i

To test the application simply run:

npm start

Bundling for production

To bundle the created application for production run:

npx webpack --config webpack.prod.config.js