{"_id":"grunt-stripcomments","_rev":"31-3fe6c33d9bf096947881b0b1cd70bc88","name":"grunt-stripcomments","description":"Remove comments from code","dist-tags":{"latest":"0.7.2"},"versions":{"0.1.0":{"name":"grunt-stripcomments","description":"Remove comments from production code","version":"0.1.0","homepage":"https://github.com/kkemple/grunt-stripcomments","author":{"name":"Kurtis Kemple","email":"kurtiskemple@gmail.com","url":"http://kurtiskemple.com"},"repository":{"type":"git","url":"git://github.com/kkemple/grunt-stripcomments"},"bugs":{"url":"https://github.com/kkemple/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kkemple/grunt-stripcomments/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"_id":"grunt-stripcomments@0.1.0","dist":{"shasum":"1293da215dc935d312a0db1895b55d1c4ceaa542","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.1.0.tgz","integrity":"sha512-tNpnE++WFHC4Pt4ysaMGBm8xdVxBizLbau3u3q6pfW71qwkXB07ihn1Y6OIkEofLjsX27BlZK8b4Ri8DMc7XWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBhdahlVmWEJeca5W5LOVq+wFop8VIvHvGmZ/dhXhuUhAiEAs6ymRbCOewxRzEfbgNnOZslP0t94MmS7muMTyFkD54g="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"kkemple","email":"kurtiskemple@gmail.com"},"maintainers":[{"name":"kkemple","email":"kurtiskemple@gmail.com"}],"directories":{}},"0.2.0":{"name":"grunt-stripcomments","description":"Remove comments from production code","version":"0.2.0","homepage":"https://github.com/kkemple/grunt-stripcomments","author":{"name":"Kurtis Kemple","email":"kurtiskemple@gmail.com","url":"http://kurtiskemple.com"},"repository":{"type":"git","url":"git://github.com/kkemple/grunt-stripcomments"},"bugs":{"url":"https://github.com/kkemple/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kkemple/grunt-stripcomments/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"_id":"grunt-stripcomments@0.2.0","dist":{"shasum":"e6f7fca04f01c05912cad0a40caa761e3df1e1fa","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.2.0.tgz","integrity":"sha512-x0tWc25JHX9ePpjgl/LNOrS1Q+qdXrm56hzzuZ+dIzr2ZbaWn9wMOpxzLMjsn61CyMgv+HXk8DKvHnYGq5hNTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkn4QbhNYvMBqHxdDfW2VMDFZKhq2IypHOTZJ+BEnZKQIgfKO72/iMhpy/QHc8ZnM8D0mOocb3jbLMe0elzlJX10k="}]},"_from":".","_npmVersion":"1.3.13","_npmUser":{"name":"kkemple","email":"kurtiskemple@gmail.com"},"maintainers":[{"name":"kkemple","email":"kurtiskemple@gmail.com"}],"directories":{}},"0.3.0":{"name":"grunt-stripcomments","description":"Remove comments from production code","version":"0.3.0","homepage":"https://github.com/kkemple/grunt-stripcomments","author":{"name":"Kurtis Kemple","email":"kurtiskemple@gmail.com","url":"http://kurtiskemple.com"},"repository":{"type":"git","url":"git://github.com/kkemple/grunt-stripcomments"},"bugs":{"url":"https://github.com/kkemple/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kkemple/grunt-stripcomments/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"_id":"grunt-stripcomments@0.3.0","dist":{"shasum":"f5302b87c4cb183ca1c8d8cde001e6f08d4abf4e","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.3.0.tgz","integrity":"sha512-m6M17KmZo84L+eLdM4ZkYnLARU7nh1pZbH62SJ8XS1eSpu0xwimLlY36uJ7kkoHtOUx75w0MEbdNSK9FpmKFlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsVAdtbqhltyAy11cnhWAh7/Bg8i3X0NexbnP1+YlZeAIgXxG7aOv0XtYH2EoaRjKRrgGgQUs0rMB+bXQnpnE7a7U="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"kkemple","email":"kurtiskemple@gmail.com"},"maintainers":[{"name":"kkemple","email":"kurtiskemple@gmail.com"}],"directories":{}},"0.3.1":{"name":"grunt-stripcomments","description":"Remove comments from production code","version":"0.3.1","homepage":"https://github.com/kkemple/grunt-stripcomments","author":{"name":"Kurtis Kemple","email":"kurtiskemple@gmail.com","url":"http://kurtiskemple.com"},"repository":{"type":"git","url":"git://github.com/kkemple/grunt-stripcomments"},"bugs":{"url":"https://github.com/kkemple/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kkemple/grunt-stripcomments/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"_id":"grunt-stripcomments@0.3.1","dist":{"shasum":"d4aa61a283a0653992da39efe5d495b8d4803c27","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.3.1.tgz","integrity":"sha512-MIkGgZueXWWxX3yqd7BLqbdZNpZfzIcBaeQdtWA//mFzya2k/SJu/8FBwo6MI4iTfZTE3iS1bGJdYiGfd+eG4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD89OplB1pC3dqsN5qUFuutD+7gMq3jVHlQddAl9APHdwIgajOFTkF9f8nlCxFRszX+BFaAF9iMKg7zuv9rMu+5teU="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"kkemple","email":"kurtiskemple@gmail.com"},"maintainers":[{"name":"kkemple","email":"kurtiskemple@gmail.com"}],"directories":{}},"0.4.0":{"name":"grunt-stripcomments","description":"Remove comments from code","version":"0.4.0","homepage":"https://github.com/kkemple/grunt-stripcomments","author":{"name":"Kurtis Kemple","email":"kurtiskemple@gmail.com","url":"http://kurtiskemple.com"},"repository":{"type":"git","url":"git://github.com/kkemple/grunt-stripcomments.git"},"bugs":{"url":"https://github.com/kkemple/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kkemple/grunt-stripcomments/blob/master/LICENSE-MIT"}],"main":"lib/strip-comments.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha ./test/**/*.js --v"},"devDependencies":{"babel-eslint":"^4.1.3","chai":"^3.4.0","eslint":"^1.7.3","eslint-config-airbnb":"^0.1.0","eslint-plugin-react":"^3.6.3","grunt":"~0.4.1","mocha":"^2.3.3","sinon":"^1.17.2"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"dependencies":{"chalk":"^1.1.1"},"gitHead":"bcf5713ac2947199f495164a17519d4cda8be308","_id":"grunt-stripcomments@0.4.0","_shasum":"9841643fb11e1233ade40e9f4778706ecf23517d","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"kkemple","email":"kurtiskemple@gmail.com"},"dist":{"shasum":"9841643fb11e1233ade40e9f4778706ecf23517d","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.4.0.tgz","integrity":"sha512-PAxPMq9CuhBCEloOePNvlitu+hXt+yESywK1LOLxyr9FSILqugNo4zE+D7mZTjfYhApJf4L5/4RoYUUUliufhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBnqkC2lNSNj+Ck3QLOryn6/5VKcvtDTpNYhA+Qor4aBAiB4wk47CJhrfCfWcKOLmj0Qq8NGdGl/2xvn84/5ORyuCw=="}]},"maintainers":[{"name":"kkemple","email":"kurtiskemple@gmail.com"}],"directories":{}},"0.5.0":{"name":"grunt-stripcomments","description":"Remove comments from code","version":"0.5.0","homepage":"https://github.com/kkemple/grunt-stripcomments","author":{"name":"Kurtis Kemple","email":"kurtiskemple@gmail.com","url":"http://kurtiskemple.com"},"repository":{"type":"git","url":"git://github.com/kkemple/grunt-stripcomments.git"},"bugs":{"url":"https://github.com/kkemple/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kkemple/grunt-stripcomments/blob/master/LICENSE-MIT"}],"main":"lib/strip-comments.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha ./test/**/*.js --v"},"devDependencies":{"babel-eslint":"^4.1.3","chai":"^3.4.0","eslint":"^1.7.3","eslint-config-airbnb":"^0.1.0","eslint-plugin-react":"^3.6.3","grunt":"~0.4.1","mocha":"^2.3.3","sinon":"^1.17.2"},"peerDependencies":{"grunt":">=0.4.0"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"dependencies":{"chalk":"^1.1.1"},"gitHead":"7ea3e28d5bad727d2d44cc92f3e76457df4330de","_id":"grunt-stripcomments@0.5.0","_shasum":"74544c1301754ace80f42b17c993bb10312ec78b","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"kkemple","email":"kurtiskemple@gmail.com"},"dist":{"shasum":"74544c1301754ace80f42b17c993bb10312ec78b","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.5.0.tgz","integrity":"sha512-aRgD4bdEQNkm4m+0TdsFSHafMzfQGheIoSl/anE5BxKMhEXtIRCqwNGQIxLB5D7i7zyCns5Yy13Ce4i9vce2yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXsy+DMjXwRY5/h2s6byHEXTV8/x8QW8VVszryzmpk2gIgfbYUlhef2u5+zz1WfjYB6//mOASM2e5UiImVZlekyqg="}]},"maintainers":[{"name":"kkemple","email":"kurtiskemple@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/grunt-stripcomments-0.5.0.tgz_1461596606722_0.9561443224083632"},"directories":{}},"0.6.0":{"name":"grunt-stripcomments","description":"Remove comments from code","version":"0.6.0","homepage":"https://github.com/jnthnjns/grunt-stripcomments","author":{"name":"Jonathan Jones","email":"jon23781@gmail.com"},"repository":{"type":"git","url":"git://github.com/jnthnjns/grunt-stripcomments.git"},"bugs":{"url":"https://github.com/jnthnjns/grunt-stripcomments/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jnthnjns/grunt-stripcomments/blob/master/LICENSE.md"}],"main":"lib/strip-comments.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"babel-eslint":"^4.1.3","chai":"^3.4.0","eslint":"^1.7.3","eslint-config-airbnb":"^0.1.0","eslint-plugin-react":"^3.6.3","grunt":"~0.4.1","grunt-contrib-clean":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-nodeunit":"^1.0.0","mocha":"^2.3.3","sinon":"^1.17.2"},"peerDependencies":{"grunt":">=0.4.0"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"dependencies":{"chalk":"^1.1.1"},"gitHead":"7718fffed46e423805fdb8463633dfbee1655032","_id":"grunt-stripcomments@0.6.0","_shasum":"22f614ec7d4c84b18dc864aa455db9c5debe67e1","_from":".","_npmVersion":"3.8.2","_nodeVersion":"5.9.0","_npmUser":{"name":"jnthnjns","email":"jnthnjns@outlook.com"},"dist":{"shasum":"22f614ec7d4c84b18dc864aa455db9c5debe67e1","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.6.0.tgz","integrity":"sha512-P+MhEcwRxq7280e+f6PJ+5faZDY5bVL/uz001SXo/uNiDZff17GXnlYUm7TTz9bV9lqoNF0AoTMZJovM+jJpxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpf+66AXCMGNad34ykH+0SAqet4Clt7cxWyHgyj0ENjAIhAMndojUGKxbL+upnqDD9GGk3Xj+ln4BSAMSdoCr/tNa/"}]},"maintainers":[{"name":"jnthnjns","email":"jnthnjns@outlook.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/grunt-stripcomments-0.6.0.tgz_1467310614365_0.06749516166746616"},"directories":{}},"0.7.2":{"name":"grunt-stripcomments","description":"Remove comments from code","version":"0.7.2","homepage":"https://github.com/jnthnjns/grunt-stripcomments","author":{"name":"Jonathan Jones","email":"jon23781@gmail.com"},"repository":{"type":"git","url":"git://github.com/jnthnjns/grunt-stripcomments.git"},"bugs":{"url":"https://github.com/jnthnjns/grunt-stripcomments/issues"},"license":"MIT","licenses":[{"type":"MIT","url":"https://github.com/jnthnjns/grunt-stripcomments/blob/master/LICENSE.md"}],"main":"lib/strip-comments.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"eol":"^0.8.1","grunt":"~0.4.1","grunt-contrib-clean":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-nodeunit":"^1.0.0"},"peerDependencies":{"grunt":">=0.4.0"},"keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"dependencies":{"chalk":"^1.1.3"},"gitHead":"e255274f8b9af71ae16d8674df1c9242e2f2f985","_id":"grunt-stripcomments@0.7.2","_shasum":"738b77676367bbf126889ae9109151b01f5aef0e","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.10.0","_npmUser":{"name":"jnthnjns","email":"jnthnjns@outlook.com"},"dist":{"shasum":"738b77676367bbf126889ae9109151b01f5aef0e","tarball":"https://registry.npmjs.org/grunt-stripcomments/-/grunt-stripcomments-0.7.2.tgz","integrity":"sha512-PGgQMtCj0S41wpTHoqaWcKh6MZDh3lNO70el4FXq2xaK2bv3yHaPkw4Ekl3/CyPMVmcFnLdyrj9oabmkw8i2Sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZCmbaJhFtyP9qoewlWf5MKpn47oBZ+54puXYC5EBVIAiAYA3zfMpht8zCD4M1MPiW6Z6yDckR2nnuezchZazau+g=="}]},"maintainers":[{"name":"jnthnjns","email":"jnthnjns@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/grunt-stripcomments-0.7.2.tgz_1488904192315_0.1840083822607994"},"directories":{}}},"readme":"# grunt-stripcomments\r\n\r\n[![Build Status](https://travis-ci.org/jnthnjns/grunt-stripcomments.svg?branch=master)](https://travis-ci.org/jnthnjns/grunt-stripcomments)\r\n[![Dependency Status](https://gemnasium.com/badges/github.com/jnthnjns/grunt-stripcomments.svg)](https://gemnasium.com/github.com/jnthnjns/grunt-stripcomments)\r\n[![CircleCI](https://circleci.com/gh/jnthnjns/grunt-stripcomments.svg?style=svg)](https://circleci.com/gh/jnthnjns/grunt-stripcomments)\r\n\r\n> Remove comments from code\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `=>0.4.0`\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-stripcomments --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('grunt-stripcomments');\r\n```\r\n\r\n## The \"comments\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `comments` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  comments: {\r\n    your_target: {\r\n      // Target-specific file lists and/or options go here.\r\n      options: {\r\n          singleline: true,\r\n          multiline: true,\r\n          keepSpecialComments: false\r\n      },\r\n      src: [ 'src/*.js'] // files to remove comments from\r\n    },\r\n  },\r\n});\r\n```\r\n\r\n### Options\r\n\r\n#### options.keepSpecialComments\r\nType: `Boolean`\r\nDefault value: `true`\r\n\r\nDetermines whether or not to remove comments starting with `/*!`.\r\n\r\n**Note:** NO special comments should be removed if the code is not yours. Special comments are used as attribution and you should consult with the authors before even considering stripping them from the source.\r\n\r\n#### options.singleline\r\nType: `Boolean`\r\nDefault value: `true`\r\n\r\nDetermines whether or not to remove single line comments\r\n\r\n#### options.multiline\r\nType: `Boolean`\r\nDefault value: `true`\r\n\r\nDetermines whether or not to remove multi line comments\r\n\r\n### Usage Examples\r\n\r\n```js\r\ngrunt.initConfig({\r\n  comments: {\r\n    js: {\r\n      options: {\r\n        singleline: true,\r\n        multiline: false\r\n      },\r\n      src: [ 'src/*.js' ]\r\n    },\r\n    php: {\r\n      options: {\r\n        singleline: true,\r\n        multiline: true\r\n      },\r\n      src: [ 'lib/*.php' ]\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## Release History\r\n- v 0.1.0 - alpha release\r\n\r\n- v 0.5.0 - update to support Grunt 1.0\r\n\r\n- v 0.5.1 - update ownership\r\n\r\n- v 0.6.0 - added support for file destination and nodeunit testing\r\n\r\n- v 0.7.0 - added support for special comments\r\n\r\n- v 0.7.1 - lint update\r\n\r\n- v 0.7.2 - EOL bug fix in unit tests","maintainers":[{"name":"jnthnjns","email":"jnthnjns@outlook.com"}],"time":{"modified":"2022-06-18T16:03:10.156Z","created":"2013-11-29T18:53:43.285Z","0.1.0":"2013-11-29T18:53:45.087Z","0.1.1":"2014-02-28T02:45:36.152Z","0.2.0":"2014-03-01T22:05:21.015Z","0.3.0":"2014-05-16T20:41:40.378Z","0.3.1":"2014-10-10T14:40:15.799Z","0.4.0":"2015-10-31T02:23:05.656Z","0.5.0":"2016-04-25T15:03:28.608Z","0.6.0":"2016-06-30T18:16:56.089Z","0.7.2":"2017-03-07T16:29:54.410Z"},"author":{"name":"Jonathan Jones","email":"jon23781@gmail.com"},"repository":{"type":"git","url":"git://github.com/jnthnjns/grunt-stripcomments.git"},"homepage":"https://github.com/jnthnjns/grunt-stripcomments","keywords":["gruntplugin","strip","comments","strip comments","remove","remove comments"],"bugs":{"url":"https://github.com/jnthnjns/grunt-stripcomments/issues"},"readmeFilename":"README.md","users":{"theutherside":true,"shipengyan":true,"shahyar":true},"license":"MIT"}