
Ensure your micro-framework stays micro
Grunt-micro is a powerful tool designed for developers who want to keep their micro-frameworks truly lightweight. It ensures that your project adheres to size limits, helping you maintain efficient and performant web applications. Automatically checking the size of your project files, it integrates seamlessly with CI/CD tools like TravisCI to verify pull requests against your specified size constraints.
This plugin is especially beneficial for developers targeting microjs.com standards, which mandate that files be 5KB Gzipped or smaller. By implementing Grunt-micro in your workflow, you can automate the verification process, ensuring your project remains true to its micro standards.
Size Limit Verification: Automatically checks that your project files do not exceed the specified size limit, ensuring compliance with micro-framework requirements.
Gzip Compression: Includes an option to gzip files before size calculation, providing a more accurate measurement of the final size for deployment.
TravisCI Integration: Works flawlessly with TravisCI, making it easier to manage pull requests and maintain size standards in continuous integration environments.
Customizable Size Limits: Allows you to set a custom size limit (in bytes) according to your project’s needs, with a default setting of 5KB.
Easy Setup: Simple installation and minimal configuration are required to get started; just add it to your Gruntfile and configure the options as needed.
Support for MicroJS Projects: Specifically designed to ensure your projects qualify for microjs.com, keeping them under the 5KB Gzipped threshold by default.
Community Input Encouraged: Encourages contributions from developers to enhance functionality, so you can help improve the tool while ensuring it meets your project needs.

Grunt is a popular JavaScript task runner that automates repetitive tasks like minification, compilation, and testing, allowing developers to focus on writing code.