Narnia's Psychedelic Mushrooms

    clean-start-express

    1.2.1 • Public • Published

    clean-start-express

    A simple clean webpack 5, babel 8, express.js, sass, css, and externalized stylesheet project setup for use.

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

    Basic setup

    This project is a preconfigured setup for the common modern toolchains. Every tutorial assumes React or some other tools that not everyone uses. This config will only config the following libraries and tools:

    • Webpack 5
    • Babel 8
    • SASS
    • 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

    Install

    npm i clean-start-express

    DownloadsWeekly Downloads

    4

    Version

    1.2.1

    License

    Apache-2.0

    Unpacked Size

    33.3 kB

    Total Files

    19

    Last publish

    Collaborators

    • thedocbwarren
    • kcalpo