Registry / devops / grunt-mobile-csm

grunt-mobile-csm

JSON →
library0.0.7jsnpmunverified

A Grunt plugin for minifying CSM mobile files and building Sencha mobile apps. Version 0.0.7 with no updates since 2015. Provides a 'mobile_csm' task with standard Grunt file configuration and two basic options (separator, punctuation). Limited documentation and no release history. Suitable only for legacy Sencha projects.

npm install grunt-mobile-csm
INSTALL
IMPORT
SIG · GRUNT-MOBILE-CSM
G
grunt-mobile-csm
devopsjavascriptv0.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

grunt
const grunt = require('grunt'); grunt.loadNpmTasks('grunt-mobile-csm');
import grunt from 'grunt';
Grunt is a Node.js tool, typically used with CommonJS require(). ESM import may work in some environments but not recommended.
mobile_csm
grunt.initConfig({ mobile_csm: { options: {}, files: { 'dest': ['src'] } } });
grunt.initConfig({ 'grunt-mobile-csm': { ... } });
Task name is 'mobile_csm' without 'grunt-' prefix, as typical for Grunt plugins.

Shows how to install, configure, and run the mobile_csm task with default options in a Gruntfile.

npm install grunt-mobile-csm --save-dev // Gruntfile.js module.exports = function(grunt) { grunt.initConfig({ mobile_csm: { default: { options: {}, files: { 'dest/default_options': ['src/testing', 'src/123'], }, }, }, }); grunt.loadNpmTasks('grunt-mobile-csm'); grunt.registerTask('default', ['mobile_csm']); };
Debug
Known issues
deprecatedPackage has not been updated since 2015 and may have unpatched vulnerabilities.
fix
Consider migrating to a modern alternative or forking the repository.
affects: >=0.0.0
gotchaThe documentation is minimal and does not explain the actual behavior of CSM minification.
fix
Read the source code to understand the plugin's functionality.
affects: 0.0.7
Errors
Common errors & fixes
Warning: Task "mobile_csm" not found. Use --force to continue.
grunt.loadNpmTasks('grunt-mobile-csm') not called or task name misspelled.
fix
Check that grunt.loadNpmTasks('grunt-mobile-csm'); is present and the task name in config is 'mobile_csm'.
Fatal error: Cannot find module 'grunt-mobile-csm'
Plugin not installed or missing from node_modules.
fix
Run 'npm install grunt-mobile-csm --save-dev'.
Upgrade
Version history
0.0.7latest on npm
Audit
Dependencies
gruntrequiredpeer dependency required to run the plugin
Agent activity
4 hits · last 30 days
node
4
Resources
grunt-mobile-csm — npm install grunt-mobile-csm · libregistry