tools-scripts-mcbe

1.0.2 • Public • Published

tools-scripts-mcbe

tools-scripts-mcbe is a command-line tool designed to simplify the process of creating, developing, and building script projects for Minecraft Bedrock Edition. It provides a streamlined workflow for both JavaScript and TypeScript projects, with features like project initialization, development mode, production builds, and project compilation.

Features

  • Supports both JavaScript and TypeScript
  • Automatic dependency management
  • Custom project initialization with interactive prompts
  • Development mode with hot reloading
  • Production builds with minification
  • Easy compilation for distribution

Usage

You can use this package directly with npx without installing it globally.

Available Commands

  1. Initialize a new project

    npx tools-scripts-mcbe init

    This command will guide you through creating a new project by asking a series of questions about your project setup.

  2. Run the project in development mode

    npm run dev

    This command will run your project in development mode, watching for changes and rebuilding as necessary.

  3. Build the project for production

    npm run build

    This command will build your project for production use.

  4. Compile the project

    npm run compile

    This command will compile your project, creating a zip file containing all necessary files.

Dependencies

This project uses several key dependencies:

  • esbuild: For fast and efficient building of JavaScript/TypeScript projects
  • inquirer: For interactive command-line user interfaces
  • commander: For parsing command-line options
  • archiver: For creating zip archives of compiled projects
  • fs-extra: For enhanced file system operations

License

This project is licensed under a custom license. The key points of this license are:

  1. You may use this software for both personal and commercial purposes.
  2. Redistribution is allowed, but you must include this license and the copyright notice.
  3. Modification or creation of derivative works is prohibited without explicit permission from the copyright holder.
  4. You may not sublicense, sell, lease, or rent this software.
  5. Attribution to the original author (IDuckPhone) is required in projects or products using this software.
  6. Reverse engineering is prohibited unless explicitly authorized by law.

For the full license text, please see the LICENSE file in this repository.

Issues

If you encounter any problems or have suggestions, please file an issue on the GitHub repository.

Package Sidebar

Install

npm i tools-scripts-mcbe

Version

1.0.2

License

SEE LICENSE IN LICENSE

Unpacked Size

22.9 kB

Total Files

14

Last publish

Collaborators

  • iduckphone