1.0.11 • Published 10 months ago

dywo v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Dywo CLI

npm version License: MIT npm downloads GitHub stars GitHub issues GitHub pull requests Build Status Coverage Status PRs Welcome

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

  1. Clone the repository:

    git clone https://github.com/bluethefoxofficial/dywo-cli.git
    cd dywo-cli
  2. Install dependencies:

    npm install
  3. 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.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. 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!

Donate with PayPal

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