Grunt Sencha Dependencies

screenshot of Grunt Sencha Dependencies

Grunt task to get the list of Ext.require dependencies in your application

Overview

If you're developing with Sencha Touch or Ext.js, managing dependencies can become cumbersome without the right tools. That's where grunt-sencha-dependencies comes into play. This Grunt.js plugin streamlines the process of determining the order of Ext classes your application relies upon, along with handling any additional script tags. By integrating it into your workflow, you can ensure a more organized and efficient build process.

The plugin not only simplifies the dependency management but also outputs organized properties that can be easily utilized for further tasks like concatenation, minification, and code linting. It's especially handy for those familiar with Grunt.js who want to optimize their Sencha applications.

Features

  • Dependency Management: Automatically figures out the order of Ext classes used in your application, eliminating manual tracking.
  • Custom Output Properties: Generates three specific properties that categorize your dependencies for easy access during the build process.
  • Integration with Grunt: Seamlessly integrates into your Grunt workflow, enhancing automation and efficiency.
  • Compatibility with Sencha Cmd: If you previously used Sencha Cmd, it's easy to configure grunt-sencha-dependencies to work with your existing app.json files.
  • Dynamic Property Syntax: Allows for flexible integration with other Grunt tasks by utilizing dynamic property styles for passing dependencies.
  • Customizable Options: User can specify various options to tailor the plugin to their project's structure, including defining the main HTML page and custom application JavaScript files.
  • Error Handling: Offers guidance for users with more than two files in their app.json, ensuring smoother setup and dependencies management.
grunt
Grunt

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