1.0.3 • Published 5 years ago

@augmentedjs/clean-start v1.0.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

clean-start

A simple clean webpack 4, babel 7, sass, css, and externalized stylesheet project setup for use.

npx clean-start 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 4
  • Babel 7
  • SASS
  • 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