https://github.com/epreston/template-web-webpack
Repo Template: webpack, mocha-chai, babel, eslint
https://github.com/epreston/template-web-webpack
babel mocha-chai template webpack
Last synced: 3 months ago
JSON representation
Repo Template: webpack, mocha-chai, babel, eslint
- Host: GitHub
- URL: https://github.com/epreston/template-web-webpack
- Owner: epreston
- License: mit
- Created: 2021-06-25T06:04:41.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2026-03-06T21:56:14.000Z (4 months ago)
- Last Synced: 2026-03-07T01:40:20.854Z (4 months ago)
- Topics: babel, mocha-chai, template, webpack
- Language: JavaScript
- Homepage:
- Size: 2.13 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Webpack Template Web Project
Repo Template: webpack, mocha-chai, babel, css, eslint.
[![CI][ci-badge]][ci-url]
## Quick Start
Install [Node.js](https://nodejs.org/en/download/), start a new repository using this [template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template), create a local [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) of your new repository, and run the following console commands within your local copy:
```bash
# install dependencies
npm install
# create a development build
npm run dev
# start a dev server and open in web browser
npm run start
```
## Scripts
| Action | Command | Description |
| ------- | ----------------- | ------------------------------------------------ |
| clean | `npm run clean` | Empty the contents of the "dist" folder. |
| dev | `npm run dev` | Create a development build into "dist" |
| build | `npm run build` | Create a production build into "dist" |
| preview | `npm run preview` | Start a local server to preview production build |
| start | `npm run start` | Start a dev server and open in web browser |
| lint | `npm run lint` | Run static code analysis |
| test | `npm run test` | Run unit tests |
| watch | `npm run watch` | Watch for changes and rebuild |
## Tools
| Tool | Reference |
| ------------ | ------------------------ |
| Node.js | https://nodejs.org |
| Webpack | https://webpack.js.org |
| Mocha | https://mochajs.org |
| Chai | https://www.chaijs.com |
| Babel | https://babeljs.io |
| ESLint | https://eslint.org |
| Prettier | https://prettier.io |
| EditorConfig | https://editorconfig.org |
## References
| Website | Reference |
| ------------------- | ------------------------- |
| Can I Use | https://caniuse.com |
| Browserslist | https://browsersl.ist |
| Web Platform Status | https://webstatus.dev |
| convertacolor | https://convertacolor.com |
| Polyfill.io | https://polyfill.io |
## License
This template is released under the MIT [License](LICENSE).
[ci-badge]: https://github.com/epreston/template-web-webpack/actions/workflows/ci.yml/badge.svg
[ci-url]: https://github.com/epreston/template-web-webpack/actions