Skip to content

abdulganiyy/makeweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

makeweb

A simple CLI tool that scaffolds a Node.js web application with Webpack and a predefined configuration. It allows you to specify your project directory, installs common dependencies, and sets up a ready-to-code structure in seconds.


✨ Features

  • πŸ“ Creates a project folder with a subfolder src
  • βš™οΈ Adds a pre-configured webpack.config.js
  • πŸ“¦ Installs useful dependencies like babel-loader, css-loader, and Webpack-related packages
  • 🧱 Generates package.json with helpful scripts
  • πŸš€ Bootstraps a minimal index.js entry file
  • πŸ”§ Works with Node.js and npm out-of-the-box

πŸ“¦ Installation

Option 1: Use with npx

npx makeweb my-app

Option 2: Install globally

npm install -g makeweb

πŸ› οΈ Usage

makeweb <project-name>

Resulting structure:

my-webapp/
β”œβ”€β”€ package.json
β”œβ”€β”€ webpack.config.js
β”œβ”€β”€ src/
β”‚   └── index.js

πŸ”‹ Included Packages

  • webpack
  • webpack-cli

You can modify the scaffolded project as needed.


🧩 Scripts

"scripts": {
  "dev": "webpack --mode development",
  "build": "webpack --mode production"
}

πŸ’‘ Customization

You can extend the tool or modify the generated webpack.config.js, index.js, and package list to suit your stack (e.g., React, Vue, etc).


πŸ“„ License

MIT License Β© 2025

About

A lightweight web application generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published