package.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "grunt-transcoding",
  3. "description": "File encoding conversion tool",
  4. "version": "0.1.3",
  5. "homepage": "http://\\",
  6. "author": {
  7. "name": "hancong03",
  8. "email": "hn.hnilo@gmail.com"
  9. },
  10. "repository": {
  11. "type": "git",
  12. "url": "git@github.com:HanCong03/grunt-transcoding.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/HanCong03/grunt-transcoding/issues"
  16. },
  17. "licenses": [
  18. {
  19. "type": "MIT",
  20. "url": "\\/blob/master/LICENSE-MIT"
  21. }
  22. ],
  23. "main": "Gruntfile.js",
  24. "engines": {
  25. "node": ">= 0.8.0"
  26. },
  27. "scripts": {
  28. "test": "grunt test"
  29. },
  30. "dependencies": {
  31. "grunt": "~0.4.1",
  32. "iconv-lite": "~0.2.11"
  33. },
  34. "devDependencies": {
  35. "iconv-lite": "~0.2.11"
  36. },
  37. "peerDependencies": {
  38. "grunt": "~0.4.1"
  39. },
  40. "keywords": [
  41. "gruntplugin"
  42. ],
  43. "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",
  44. "readmeFilename": "README.md",
  45. "_id": "grunt-transcoding@0.1.2",
  46. "_from": "grunt-transcoding@~0.1.1"
  47. }