dywo
v1.0.11
Published
Dywo - A flexible CLI tool for web project management
Downloads
47
Maintainers
Readme
Dywo CLI
Dywo is a flexible Command Line Interface (CLI) tool for web project management. It simplifies the process of creating, developing, and managing web projects with a focus on vanilla JavaScript development.
Features
- Project generation with customizable templates
- Built-in development server
- Compilation and bundling of assets
- Code linting and formatting
- Test runner integration
- JavaScript obfuscation
Installation
Option 1: Install from npm
npm install -g dywo
Option 2: Install from source
Clone the repository:
git clone https://github.com/bluethefoxofficial/dywo-cli.git cd dywo-cli
Install dependencies:
npm install
Link the CLI tool globally:
npm link
Usage
Generate a new project
dywo generate
Follow the prompts to customize your project.
Compile your project
dywo compile client
or
dywo compile server
Serve your project
dywo serve
Run tests
dywo test client
or
dywo test server
Lint your code
dywo lint client
Format your code
dywo format client --write
Obfuscate your code
dywo obfuscate client
Configuration
Dywo uses a dywo.config.js
file in the root of your project for configuration. Here's an example:
module.exports = {
client: {
entry: './src/main.js',
output: {
path: './dist',
filename: 'bundle.js'
}
},
server: {
entry: './server/index.js',
output: {
path: './dist',
filename: 'server.js'
}
},
devServer: {
port: 8080
}
};
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any problems or have any questions, please open an issue on the GitHub repository.
Donations
If you find Dywo helpful and want to support its development, consider making a donation. Your support is greatly appreciated and helps maintain and improve this tool!
You can make a donation via PayPal: paypal.me/bluethefox
Every contribution, no matter how small, is sincerely appreciated and goes directly towards the time and resources dedicated to improving Dywo.
Made with ❤️ by Bluethefox