{"_id":"grunt-civet","_rev":"10-35f22447bbefe8578984958d6c7bf1b9","name":"grunt-civet","description":"civet for grunt","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"grunt-civet","description":"civet for grunt","version":"0.1.0","homepage":"https://github.com/xudafeng/grunt-civet","author":{"name":"xudafeng","email":"xudafeng@126.com","url":"http://xdf.me/"},"repository":{"type":"git","url":"https://github.com/xudafeng/grunt-civet.git"},"bugs":{"url":"https://github.com/xudafeng/grunt-civet/issues"},"licenses":[{"type":"MIT","url":"https://github.com/xudafeng/grunt-civet/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"readme":"# grunt-civet\n\n> civet for grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.2`\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-civet --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-civet');\n```\n\n## The \"civet\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `civet` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  civet: {\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  civet: {\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  civet: {\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-civet@0.1.0","dist":{"shasum":"13267c269a53e51470e686ede94405f56d6e012f","tarball":"https://registry.npmjs.org/grunt-civet/-/grunt-civet-0.1.0.tgz","integrity":"sha512-mWiYWf+KY34POw6RKiTBYLIpfPgN453flyzO46P/BKXT7T4cyAGpPkUJq6b0vVopd/PZmuFt+BKXnocUe9ftvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3U8PyKSzgKhDj3uWKEnnUMlWXgzcBMF/0z+8YLj5t4QIgSoDT/N/tXCcCqy6vZeleSOnjxLWKZB4w94VCDcpnW6s="}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"xudafeng","email":"xudafeng@126.com"},"maintainers":[{"name":"xudafeng","email":"xudafeng@126.com"}],"directories":{}},"0.1.1":{"name":"grunt-civet","description":"civet for grunt","version":"0.1.1","homepage":"https://github.com/xudafeng/grunt-civet","author":{"name":"xudafeng","email":"xudafeng@126.com","url":"http://xdf.me/"},"repository":{"type":"git","url":"https://github.com/xudafeng/grunt-civet.git"},"bugs":{"url":"https://github.com/xudafeng/grunt-civet/issues"},"licenses":[{"type":"MIT","url":"https://github.com/xudafeng/grunt-civet/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"civet":"*","colors":"*"},"devDependencies":{"grunt":"~0.4.2","civet":"*","colors":"*"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"readme":"# grunt-civet\n\n> civet for grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.2`\n\n```shell\nnpm install grunt-civet --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-civet');\n```\n\n## The \"civet\" task\n\n### Options\n\n#### options.type\nType: `String`\nDefault value: `'velocity  '`\n\nA string value that is used to do something with whatever.\n\nAnd if can be 'velocity' or 'php';\n\n### Usage Examples\n\n#### Custom Options\n\n```js\ngrunt.initConfig({\n    civet: {\n        buildVM:{\n            options:{\n                'type':'velocity'\n            },\n            files:{\n                'test/dest/vm/123.vm' : 'test/fixtures/123',\n                'test/dest/vm/testing.vm': 'test/fixtures/testing'\n            }\n        },\n        buildPHP:{\n            options:{\n                'type':'php'\n            },\n            files:{\n                'test/dest/php/123.php' : 'test/fixtures/123',\n                'test/dest/php/testing.php' : 'test/fixtures/testing'\n            }\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\nv 0.1.1\n","readmeFilename":"README.md","_id":"grunt-civet@0.1.1","dist":{"shasum":"6bd184de6fcfc056a3f1c8c09cd742237dcd5a28","tarball":"https://registry.npmjs.org/grunt-civet/-/grunt-civet-0.1.1.tgz","integrity":"sha512-dDoMZy7Di0FxlWR9MOok0uyEVqikPIoN+qiawt+gHL89CMpOhvbe/mukGu3SLI/iS9Gi7kO5lQ8nO2hwvFPpEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1rm9KO6T4mntmQs/nQ8dathWi1utxSJymv/2Nno/p+wIhAKFzG6CaN6diPQHgSrNloACkDZfnMBKfg1qSCYU0Hx1l"}]},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"xudafeng","email":"xudafeng@126.com"},"maintainers":[{"name":"xudafeng","email":"xudafeng@126.com"}],"directories":{}},"0.1.2":{"name":"grunt-civet","description":"civet for grunt","version":"0.1.2","homepage":"https://github.com/xudafeng/grunt-civet","author":{"name":"xudafeng","email":"xudafeng@126.com","url":"http://xdf.me/"},"repository":{"type":"git","url":"https://github.com/xudafeng/grunt-civet.git"},"bugs":{"url":"https://github.com/xudafeng/grunt-civet/issues"},"licenses":[{"type":"MIT","url":"https://github.com/xudafeng/grunt-civet/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"dependencies":{"civet":"*","colors":"*"},"devDependencies":{"grunt":"~0.4.2","civet":"*","colors":"*"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"readme":"# grunt-civet\n\n> civet for grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.2`\n\n```shell\nnpm install grunt-civet --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-civet');\n```\n\n## The \"civet\" task\n\n### Options\n\n#### options.type\nType: `String`\nDefault value: `'velocity  '`\n\nA string value that is used to do something with whatever.\n\nAnd if can be 'velocity' or 'php';\n\n### Usage Examples\n\n#### Custom Options\n\n```js\ngrunt.initConfig({\n    civet: {\n        buildVM:{\n            options:{\n                'type':'velocity'\n            },\n            files:{\n                'test/dest/vm/123.vm' : 'test/fixtures/123',\n                'test/dest/vm/testing.vm': 'test/fixtures/testing'\n            }\n        },\n        buildPHP:{\n            options:{\n                'type':'php'\n            },\n            files:{\n                'test/dest/php/123.php' : 'test/fixtures/123',\n                'test/dest/php/testing.php' : 'test/fixtures/testing'\n            }\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\nv 0.1.0\nv 0.1.1\nv 0.1.2\n","readmeFilename":"README.md","_id":"grunt-civet@0.1.2","dist":{"shasum":"135d7cf25a73b85c2e82ecad43c814940f3b3171","tarball":"https://registry.npmjs.org/grunt-civet/-/grunt-civet-0.1.2.tgz","integrity":"sha512-OS85hIzfKz03ZbG37gkkt8Zixk0kX+/QqaSyL0zmc4olXACGX643A+2tjzqBNSZZIRsQKqWVKwQDQYND+AA7lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdwlNXW8thYrC1DAV5ZWXa+HC7pTcnoeKMDeiyZUTodAiEA9CyytAq1KE5qfmqFOKaVxjbZqFLcV2VCdVPDebtNRHY="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"xudafeng","email":"xudafeng@126.com"},"maintainers":[{"name":"xudafeng","email":"xudafeng@126.com"}]}},"readme":"# grunt-civet\n\n> civet for grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.2`\n\n```shell\nnpm install grunt-civet --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-civet');\n```\n\n## The \"civet\" task\n\n### Options\n\n#### options.type\nType: `String`\nDefault value: `'velocity  '`\n\nA string value that is used to do something with whatever.\n\nAnd if can be 'velocity' or 'php';\n\n### Usage Examples\n\n#### Custom Options\n\n```js\ngrunt.initConfig({\n    civet: {\n        buildVM:{\n            options:{\n                'type':'velocity'\n            },\n            files:{\n                'test/dest/vm/123.vm' : 'test/fixtures/123',\n                'test/dest/vm/testing.vm': 'test/fixtures/testing'\n            }\n        },\n        buildPHP:{\n            options:{\n                'type':'php'\n            },\n            files:{\n                'test/dest/php/123.php' : 'test/fixtures/123',\n                'test/dest/php/testing.php' : 'test/fixtures/testing'\n            }\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\nv 0.1.0\nv 0.1.1\nv 0.1.2\n","maintainers":[{"name":"xudafeng","email":"xudafeng@126.com"}],"time":{"modified":"2022-06-18T14:36:33.969Z","created":"2013-12-30T07:01:47.822Z","0.1.0":"2013-12-30T07:01:53.488Z","0.1.1":"2013-12-30T17:31:21.959Z","0.1.2":"2014-01-02T02:38:53.203Z"},"author":{"name":"xudafeng","email":"xudafeng@126.com","url":"http://xdf.me/"},"repository":{"type":"git","url":"https://github.com/xudafeng/grunt-civet.git"},"users":{}}