Skip to content

The Webcraft CLI is a powerful tool built using Node.js that streamlines the process of setting up a basic vanilla JavaScript project structure. With just a few commands, you can create the fundamental files, folders, and configurations needed to kickstart your web development journey.

License

Notifications You must be signed in to change notification settings

amirhoseinqd/webcraft-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebCraft CLI

WebCraft CLI is a Node.js package designed to simplify the process of creating basic web project structures using vanilla JavaScript. With just a single command, you can set up a new web project with HTML, CSS, and JavaScript files that are interconnected and ready for development. As WebCraft CLI continues to evolve, more features will be added to enhance its capabilities and offer even greater value to web developers.

Features

  • Quickly generate the basic structure of a web project.

  • Set up an HTML file with necessary boilerplate code.

  • Create a CSS file for styling your web pages.

  • Include a JavaScript file that's ready for your custom scripts.

  • All files are interconnected and ready for development.

Installation

You can run the following command to install Webcraft:

npm install webcraft-cli

Usage

1. Create a New Project:

You can use npx to run WebCraft CLI without having to install it globally. Simply execute the following command in your terminal:

npx webcraft create <project-name>

This will generate a directory with the specified <project-name> and set up the basic project structure. Replace <project-name> with the desired name of your project.

2. Start Developing:

After the project is generated, navigate into the project directory:

cd <project-name>

You can now start building your web application by editing the HTML, CSS, and JavaScript files provided.

Future Enhancements

WebCraft CLI is an ongoing project, and future updates will bring exciting new features and enhancements to streamline your web development process. Some planned improvements include:

  • Template Selection: Choose from a variety of templates (e.g., single-page app, multi-page app, landing page) to kickstart your project with the appropriate structure.

  • CSS Preprocessors: Integration of popular CSS preprocessors like Sass or Less for advanced styling capabilities.

  • Framework Integration: Option to include popular web frameworks like React, Vue.js, or Angular in your project structure.

  • Automated Testing Setup: Easily set up testing frameworks such as Jest or Mocha for efficient testing of your JavaScript code.

  • Build and Deployment Scripts: Generate scripts for building and deploying your project, optimizing it for production.

  • Interactive Configuration: Configure project settings interactively during project creation.

Contributing

WebCraft CLI is an open-source project, and contributions are welcome! If you have ideas for new features, bug fixes, or improvements, feel free to submit a pull request or create an issue on the GitHub repository.

License

This project is licensed under the MIT License.


Happy coding with WebCraft CLI! If you encounter any issues or have suggestions, please don't hesitate to reach out on the GitHub repository. Your feedback is greatly appreciated.

About

The Webcraft CLI is a powerful tool built using Node.js that streamlines the process of setting up a basic vanilla JavaScript project structure. With just a few commands, you can create the fundamental files, folders, and configurations needed to kickstart your web development journey.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published