clean-start-react

1.0.1 • Public • Published

clean-start-react

A Node Express Service using React starter project

A simple clean webpack 5, babel, express.js, sass, React project setup for use.

npx clean-start-react app-name to create a base webpack/babel/sass/react setup into app-name folder.

Basic setup

This project is a pre-configured setup for the common modern toolchains. This config will only config the following libraries and tools:

  • Webpack 5
  • Babel
  • SASS
  • React 18
  • Express.js
  • Mocha
    • chai
    • jsdom

Commands

The supported npm commands with this build are the following:

  • npm run dev
    • build to dist and creates a separate css file and bundle.js
  • npm run build
    • build to dist and creates a separate css file and bundle.js minified
  • npm run rebuild
    • completely clears node_modules and rebuilds
  • npm run reinstall
    • completely clears node_modules and installs
  • npm test
    • runs babel and executes mocha against the test folder
  • npm start
    • runs Express.js service
  • npm run start:dev
    • runs webpack dev service

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    5
  • 1.0.0
    1

Package Sidebar

Install

npm i clean-start-react

Weekly Downloads

6

Version

1.0.1

License

Apache-2.0

Unpacked Size

61.2 kB

Total Files

18

Last publish

Collaborators

  • thedocbwarren