web-project-setup
v1.0.6
Published
A script to set up a basic web project
Downloads
11
Readme
Web Project Setup Script
This npm package automates the setup process for a basic web project. It creates a directory structure with essential files, generates an HTML file with a basic structure and optionally runs the project on a local server.
installation
- Install
npm install -g web-project-setup
- Create project
bash web-project-setup
- Create project, initialize git, and run on local server
bash web-project-setup --git --serve
This command will:
- Create a new directory named website-project.
- Create script.js and style.css files.
- Download favicon.ico and apple-touch-icon.png.
- Generate an index.html file with basic HTML structure.
- Create a license.txt file with the MIT license.
- Create a README.md file.
- Create a robots.txt file.
- Create a manifest.json file for PWA support.
- Initialize a Git repository and make the initial commit.
- Install and start a local server using http-server.
Project Structure
website-project/
├── apple-touch-icon.png
├── favicon.ico
├── index.html
├── license.txt
├── manifest.json
├── README.md
├── robots.txt
├── script.js
└── style.css
Photos
Notes
- This project does not utilize any frameworks and is based on static HTML.
- This script is released under the MIT License. See the LICENSE.txt file for details.
- This script was created by sudo-self.