{"_id":"grunt-wc-build","_rev":"48-b65062fe4c72f90c5173c0878da8b3ba","name":"grunt-wc-build","time":{"modified":"2022-06-18T16:16:49.481Z","created":"2014-03-26T02:06:45.554Z","0.0.1":"2014-03-26T02:06:47.487Z","0.0.2":"2014-03-26T14:26:53.431Z","0.0.3":"2014-03-26T16:53:22.167Z","0.0.4":"2014-03-27T21:20:40.082Z","0.0.5":"2014-07-21T04:46:02.237Z","0.0.6":"2014-08-19T19:38:16.080Z","0.1.0":"2015-01-16T15:19:24.931Z"},"maintainers":[{"name":"mohanaravind","email":"mohanaravind@gmail.com"}],"description":"Runtime view builder for web components based on a specific folder structure","readme":"# wc-build\n\n> Runtime view builder for web components based on a specific folder structure\n> It flattens the folder from the source to the build view\n> Example : MyFrameWork_ar-comp.mod/src/index.html, MyFrameWork_ar-comp.mod/src/style.css, MyFrameWork_ar-comp.mod/src/main.js  would be flattened to the specified path as\n> buildpath/index.html, buildpath/style.css, buildpath/main.js\n## Getting Started\nThis plugin requires Grunt.\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 wc-build --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('wc-build');\n```\n\n## The \"wc_build\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `wc_build` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n\tbuild: {\t\t\t\n\t\tdev: {\n\t\t\trtv: 'C:/Users/zb8/Desktop/run/build',\t\t\n\t\t\tpublish: {\n\t\t\t\tframeworks: ['TRGCrocMyComponents', 'DRGMspStdoUI']\n\t\t\t},\t\t\t\n\t\t\tmoduleExtension: /\\.o.*/,\n\n\t\t\tserve: true,\n\t\t\tport: 8081,\n\t\t\topen: 'TRGCroc_ar-app/ar-app.html'\n\t\t},\n\t},\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  wc_build: {\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  wc_build: {\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\nInitial beta release\n\n## License\nCopyright (c) 2014 Aravind Mohan. Licensed under the MIT license.\n","versions":{"0.0.4":{"name":"grunt-wc-build","version":"0.0.4","description":"Runtime view builder for web components based on a specific folder structure","repository":"","author":{"name":"Aravind Mohan","email":"mohanaravind@gmail.com","url":"www.mohanaravind.com"},"keywords":["web components","wc build"],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"dependencies":{"load-grunt-tasks":"~0.3.0","grunt":"~0.4.4","mkdirp":"~0.3.5","http-server":"~0.6.1","ncp":"*","rimraf":"*","colors":"*"},"devDependencies":{},"scripts":{"test":"grunt test"},"_id":"grunt-wc-build@0.0.4","dist":{"shasum":"7f5479e8cc5a7c6a07a41044150d921adb7eef9c","tarball":"https://registry.npmjs.org/grunt-wc-build/-/grunt-wc-build-0.0.4.tgz","integrity":"sha512-0dwlJyTTmMYyszINHfXzdi7j1kuRWKwVnK9f2yWiKB7OUAN30S+E8Hxw3JKJMQOWmswLwSBl4MpBUEjlTYteIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmOtTi+vJsaZncJj0ujHc2sdkswTS0qjtOxhUGOx9kkAIhAIV1aDB7GeNuiyQbd0nB9vCZ7BtE6ypsYudgkkEEIQ6Q"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"mohanaravind","email":"mohanaravind@gmail.com"},"maintainers":[{"name":"mohanaravind","email":"mohanaravind@gmail.com"}]},"0.0.5":{"name":"grunt-wc-build","version":"0.0.5","description":"Runtime view builder for web components based on a specific folder structure","repository":"","author":{"name":"Aravind Mohan","email":"mohanaravind@gmail.com","url":"www.mohanaravind.com"},"keywords":["web components","wc build"],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"dependencies":{"load-grunt-tasks":"~0.3.0","grunt":"~0.4.4","mkdirp":"~0.3.5","http-server":"~0.6.1","ncp":"*","rimraf":"*","colors":"*","vulcanize":"0.1.9","grunt-contrib-uglify":"0.3.0","cheerio":"0.17.0","matchdep":"~0.1.2"},"devDependencies":{},"scripts":{"test":"grunt test"},"_id":"grunt-wc-build@0.0.5","_from":".","dist":{"shasum":"f4fcb464e612418a7878117f3a08e7e6a56ad610","tarball":"https://registry.npmjs.org/grunt-wc-build/-/grunt-wc-build-0.0.5.tgz","integrity":"sha512-2cQbyecHC2ncObSgDojsyYtEhCD1rfiQa871uo90/8Gk7hXUOdUyskfRQNlXjtHbszYrO9MpuHXSyYdHgZ1P/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsbGK8UXDq1YySffRIYUdUwXQluIz+HfPMYEKP0mQM2AiAgMTQIm7rcSq2CyzXWx5VbJqjzQvcnYo8TABl5dWp/cw=="}]},"_npmVersion":"1.3.5","_npmUser":{"name":"mohanaravind","email":"mohanaravind@gmail.com"},"maintainers":[{"name":"mohanaravind","email":"mohanaravind@gmail.com"}]},"0.0.6":{"name":"grunt-wc-build","version":"0.0.6","description":"Runtime view builder for web components based on a specific folder structure","repository":"","author":{"name":"Aravind Mohan","email":"mohanaravind@gmail.com","url":"www.mohanaravind.com"},"keywords":["web components","wc build"],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"dependencies":{"load-grunt-tasks":"~0.3.0","grunt":"~0.4.4","mkdirp":"~0.3.5","http-server":"~0.6.1","ncp":"*","rimraf":"*","colors":"*","vulcanize":"0.1.9","grunt-contrib-uglify":"0.3.0","cheerio":"0.17.0","matchdep":"~0.1.2"},"devDependencies":{},"scripts":{"test":"grunt test"},"_id":"grunt-wc-build@0.0.6","_from":".","dist":{"shasum":"1b8047a162ea91be89e37f9ba75a884bb96f29aa","tarball":"https://registry.npmjs.org/grunt-wc-build/-/grunt-wc-build-0.0.6.tgz","integrity":"sha512-OwTW7U8nfNxZQPdg+ExViqPL4Yuvsk+8NcMOmO0nZictS5jZVW8A6i6Qr4o7ggMxpwLPW6VyTGRhvRywL+0RwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLvRzAjBnh14xrP0ANCp3bpLCP5ZCltJCSpA1/RKH8BAiEA58zl5C+7JWZru/sDNnMXrwGLXqgJLRh/Cybwt4F+Tig="}]},"_npmVersion":"1.3.5","_npmUser":{"name":"mohanaravind","email":"mohanaravind@gmail.com"},"maintainers":[{"name":"mohanaravind","email":"mohanaravind@gmail.com"}]},"0.1.0":{"name":"grunt-wc-build","version":"0.1.0","description":"Runtime view builder for web components based on a specific folder structure","repository":"","author":{"name":"Aravind Mohan","email":"mohanaravind@gmail.com","url":"www.mohanaravind.com"},"keywords":["web components","wc build"],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"licenses":[{"type":"MIT"}],"dependencies":{"load-grunt-tasks":"~0.3.0","grunt":"~0.4.4","mkdirp":"~0.3.5","http-server":"~0.6.1","ncp":"*","rimraf":"*","colors":"*","vulcanize":"0.1.9","grunt-contrib-uglify":"0.3.0","cheerio":"0.17.0","matchdep":"~0.1.2"},"devDependencies":{},"scripts":{"test":"grunt test"},"_id":"grunt-wc-build@0.1.0","_from":".","dist":{"shasum":"eb85df18f2f4434998607e421ad62588000158cf","tarball":"https://registry.npmjs.org/grunt-wc-build/-/grunt-wc-build-0.1.0.tgz","integrity":"sha512-TfyoT+VQtC8ucRgPVKsQnoUcNpoPE8lC49OhFCF+Tsf8FIQNh48vtIxkqHhinum/SoAYVL78CHpAfAdULWTeXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjZCLDrtT6ISWHMiZO/rz+2L0pH/H4cFJMSQCaPrcJBAIgd9y5TwI76IGJawHQBpF8PxB1zhkgk20mvSQ0AupsZNs="}]},"_npmVersion":"1.3.5","_npmUser":{"name":"mohanaravind","email":"mohanaravind@gmail.com"},"maintainers":[{"name":"mohanaravind","email":"mohanaravind@gmail.com"}]}},"dist-tags":{"latest":"0.1.0"},"readmeFilename":"README.md","keywords":["web components","wc build"],"author":{"name":"Aravind Mohan","email":"mohanaravind@gmail.com","url":"www.mohanaravind.com"},"users":{"mohanaravind":true}}