grunt-sencha-zordercompress
Version:
Compress compile sencha by order Loaded javascript files!
58 lines (57 loc) • 4.41 kB
JSON
{
"name": "grunt-sencha-zordercompress",
"description": "Compress compile sencha by order Loaded javascript files!",
"version": "0.1.7",
"homepage": "http://www.cmszu.com",
"author": {
"name": "Gloot/ZWD",
"email": "glootz@gmail.com",
"url": "http://www.cmszu.com"
},
"repository": {
"type": "git",
"url": "git://github.com/gloot/grunt-sencha-zordercompress.git"
},
"bugs": {
"url": "https://github.com/gloot/grunt-sencha-zordercompress/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://www.cmszu.com/blob/master/LICENSE-MIT"
}
],
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {
"grunt-lib-phantomjs": "~0.4.0",
"phantomjs": "1.9.2-1",
"connect": "~2.9.0"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.6.0",
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-nodeunit": "~0.2.0",
"grunt": "~0.4.1"
},
"peerDependencies": {
"grunt": "~0.4.1"
},
"keywords": [
"sencha",
"sencha touch",
"Ext",
"compress",
"sencha compress",
"sencha compile"
],
"readme": "# grunt-sencha-zordercompress\r\n\r\n> Compress compile sencha by order Loaded javascript files!\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `~0.4.1`\r\n\r\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-sencha-zordercompress --save-dev\r\n```\r\n\r\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('Sencha_ZOrderCompress');\r\n```\r\n\r\n## The \"Sencha_ZOrderCompress\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `Sencha_ZOrderCompress` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n Sencha_ZOrderCompress: {\r\n options: {\r\n // Task-specific options go here.\r\n },\r\n your_target: {\r\n // Target-specific file lists and/or options go here.\r\n },\r\n },\r\n})\r\n```\r\n\r\n### Options\r\n\r\n#### options.separator\r\nType: `String`\r\nDefault value: `', '`\r\n\r\nA string value that is used to do something with whatever.\r\n\r\n#### options.punctuation\r\nType: `String`\r\nDefault value: `'.'`\r\n\r\nA string value that is used to do something else with whatever else.\r\n\r\n### Usage Examples\r\n\r\n#### Default Options\r\nIn this example, the default options are used to do something with whatever. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result would be `Testing, 1 2 3.`\r\n\r\n```js\r\ngrunt.initConfig({\r\n Sencha_ZOrderCompress: {\r\n options: {},\r\n files: {\r\n 'dest/default_options': ['src/testing', 'src/123'],\r\n },\r\n },\r\n})\r\n```\r\n\r\n#### Custom Options\r\nIn this example, custom options are used to do something else with whatever else. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result in this case would be `Testing: 1 2 3 !!!`\r\n\r\n```js\r\ngrunt.initConfig({\r\n Sencha_ZOrderCompress: {\r\n options: {\r\n separator: ': ',\r\n punctuation: ' !!!',\r\n },\r\n files: {\r\n 'dest/default_options': ['src/testing', 'src/123'],\r\n },\r\n },\r\n})\r\n```\r\n\r\n## Contributing\r\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\r\n\r\n ##GitHub Url\r\n[Github git](git://github.com/gloot/grunt-sencha-zordercompress.git):git://github.com/gloot/grunt-sencha-zordercompress.git \r\n[Github issue](https://github.com/gloot/grunt-sencha-zordercompress/issues): https://github.com/gloot/grunt-sencha-zordercompress/issues .\r\n\r\n## Release History\r\n_(Nothing yet)_\r\n",
"readmeFilename": "README.md",
"_id": "grunt-sencha-zordercompress@0.1.4",
"_from": "grunt-sencha-zordercompress@"
}