{ "name": "grunt-transcoding", "description": "File encoding conversion tool", "version": "0.1.3", "homepage": "http://\\", "author": { "name": "hancong03", "email": "hn.hnilo@gmail.com" }, "repository": { "type": "git", "url": "git@github.com:HanCong03/grunt-transcoding.git" }, "bugs": { "url": "https://github.com/HanCong03/grunt-transcoding/issues" }, "licenses": [ { "type": "MIT", "url": "\\/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "dependencies": { "grunt": "~0.4.1", "iconv-lite": "~0.2.11" }, "devDependencies": { "iconv-lite": "~0.2.11" }, "peerDependencies": { "grunt": "~0.4.1" }, "keywords": [ "gruntplugin" ], "readme": "# grunt-transcoding\n\n> File encoding conversion tool\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\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:\n\n```shell\nnpm install grunt-transcoding --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-transcoding');\n```\n\n## The \"transcoding\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `transcoding` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n transcoding: {\n options: {\n // Task-specific options go here.\n },\n your_target: {\n // Target-specific file lists and/or options go here.\n },\n },\n})\n```\n\n### Options\n\n#### options.separator\nType: `String`\nDefault value: `', '`\n\nA string value that is used to do something with whatever.\n\n#### options.punctuation\nType: `String`\nDefault value: `'.'`\n\nA string value that is used to do something else with whatever else.\n\n### Usage Examples\n\n#### Default Options\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.`\n\n```js\ngrunt.initConfig({\n transcoding: {\n options: {},\n files: {\n 'dest/default_options': ['src/testing', 'src/123'],\n },\n },\n})\n```\n\n#### Custom Options\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 !!!`\n\n```js\ngrunt.initConfig({\n transcoding: {\n options: {\n separator: ': ',\n punctuation: ' !!!',\n },\n files: {\n 'dest/default_options': ['src/testing', 'src/123'],\n },\n },\n})\n```\n\n## Contributing\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/).\n\n## Release History\n_(Nothing yet)_\n", "readmeFilename": "README.md", "_id": "grunt-transcoding@0.1.2", "_from": "grunt-transcoding@~0.1.1" }