scaffold-static lets you automate the local development environment setup and build static sites (vanilla-JS) with ease.
npm install -g scaffold-static
If you have installed scaffold-static globally,
scaffold-static new <project_name>or, you could use it with npx
npx scaffold-static new <project_name>--use-npm to use npm as the package manager.Currently the following CSS frameworks are supported:-
Bootstrap-3
Bootstrap-4
Materialize css
Foudation css
Semantic-UI
Bulma css
scaffold-static generates the bare minimum boilerplate template with necessary webpack configurations to build the project for production.
A webpack.config.js file is made available which depends on the following packages:-
@import and url() like import/require() and will resolve them.Leverage the advantages put forward by webpack-dev-server such as Hot Module Replacement essentially adding it to the DX.
Please see the contributing guidelines
GNU GPL V3