I am template a for a project that uses npm, webpack, eslint, babel and jest among others.See package.json for details. This template incorporates jQuery and Bootstrap.
Note: *this project is confirmed to work with Node versions 16, 18, 20.
- Clone project repo.
- Navigate to project folder via Terminal.
- If you do not intend to use a .env file he dependency
"dotenv-webpack": "^2.0.0"
should be removed frompackage.json
- If you do not intend to use Bootstrap in your project the dependencies
"bootstrap": "^4.5.0"
and"popper.js": "^1.16.1"
should be removed frompackage.json
- Update the
name
,description
andauthor
properties inpackage.json
to reflect the new project. - Update the
title
property on line 20 ofwebpack.config.js
to reflect new project title. - Update the
<title>
element on line 5 ofsrc/index.html
to reflect new project title. - Remove boilerplate html, css and js content.
- From the command line run
npm install
to install all dependencies. npm run start
to start a live server.
- Node Package Manager
- Webpack
- Babel
- Jest
- Eslint
- Bootstrap