Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

craigmorrison/example-webpack-react

Repository files navigation

Basic Webpack Example

An example project for teaching build configuration with React.

Commands

Install

To install use:

npm install

Test

To run the test suite use:

npm test

Tests also run on git push.

Run

To run the site use:

npm start

Build

To build a deployable version use:

npm run build

Lint

To check the code style with ESLint run:

npm run lint

ESLint linting also runs on git commit.

Formatting

To check the code style with ESLint run:

npm run lint

Prettier formatting also runs on git push.

Check Types

To check TypeScript use:

npm run ts

This doesn't generate any TypeScript definitions, when the build runs it will run this check as well as generating the definition files.

About

An example of a Webpack setup using React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published