{"_id":"rollup-plugin-jscc","_rev":"12-329dfb628f3c0f482d48e044f785dad5","name":"rollup-plugin-jscc","description":"Conditional comments and variable replacement for rollup, based on jscc","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0-beta.1":{"name":"rollup-plugin-jscc","version":"0.1.0-beta.1","description":"Conditional comments and code cleanup for rollup, based on jspreproc","main":"dist/rollup-plugin-jscc.cjs.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","scripts":{"test":"npm run build-cjs && mocha test/run.js","pretest":"npm build","build":"npm run build-cjs && npm run build-es6 && npm run build-pre","build-cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.cjs.js","build-es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","build-pre":"rollup -c -f cjs --environment LEGACY=1 -o dist/legacy/rollup-plugin-jscc.js"},"files":["dist","README.md"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","jspreproc","conditional comments"],"author":{"name":"amarcruz","email":"amarcruzbox-git@yahoo.com"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"eslint":"^3.4.0","expect":"^1.20.2","mocha":"^3.0.2","rollup":"^0.34.11","rollup-plugin-buble":"^0.13.0"},"gitHead":"368e789e208278fc9a88587fcf05660adaf91c2c","_id":"rollup-plugin-jscc@0.1.0-beta.1","_shasum":"0683e7a654048364efa3f8aabd93ed6662643ddd","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"0683e7a654048364efa3f8aabd93ed6662643ddd","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.1.0-beta.1.tgz","integrity":"sha512-SdOYn5XxjVIzR3Xc9ILZ7X9zKKrhRXPBIjjOLA8dOw/HCl8CFx1ubagu38qZyCElp70p0IPgFkKTPs8ag/N5BQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLwek65Hni4GM08dssWrIfcit4sCPKiiz/sryeytFq3AiBGrLh8IBYhtXc0wsOOTdETd44MdTx+Th33z7Gm74KXeg=="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.1.0-beta.1.tgz_1472975095808_0.005802617408335209"},"directories":{}},"0.1.2":{"name":"rollup-plugin-jscc","version":"0.1.2","description":"Conditional comments and code cleanup for rollup, based on jspreproc","main":"dist/rollup-plugin-jscc.cjs.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","engines":{"node":">=0.12"},"scripts":{"test":"node-version-gte-4 && mocha || mocha --compilers js:./buble-register","lint":"node-version-gte-4 && eslint src test/index.js || node-version-lt-4","pretest":"npm run lint && npm run build","build":"rm -rf dist/* && npm run build:cjs && npm run build:es6","build:cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.cjs.js","build:es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","prepublish":"npm test"},"files":["dist","src"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","jspreproc","conditional comments"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://github.com/aMarCruz"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","perf-regexes":"0.0.1","rollup-pluginutils":"^1.5.2"},"devDependencies":{"eslint":"^3.4.0","expect":"^1.20.2","mocha":"^3.0.2","node-version-check":"^2.1.1","rollup":"^0.34.13","rollup-plugin-buble":"^0.13.0","rollup-plugin-node-resolve":"^2.0.0"},"gitHead":"9c8befd908d3854f09d7b5b94cf60ad11e2de1a4","_id":"rollup-plugin-jscc@0.1.2","_shasum":"71ae4278d6aabbd7f7c6a304196a6f435008fd9d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"71ae4278d6aabbd7f7c6a304196a6f435008fd9d","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.1.2.tgz","integrity":"sha512-PyBpHGNoV6aDoCyJrlK6rsadGEy9f1OF+tq1Ib+9mmAyNxnpOAMuwONvsnEZv69LXoWErCm1LqkpeUClVhkUXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFtoy9UF2KiPAWnIhEa0mSiIpompj9vJJeGnPYxk0oVRAiAMw5Xcu/WffK1tki8QBTuyoR1NGeTJ0tE734afeBIrCA=="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.1.2.tgz_1473347493583_0.9551493898034096"},"directories":{}},"0.2.0":{"name":"rollup-plugin-jscc","version":"0.2.0","description":"Conditional comments and code cleanup for rollup, based on jspreproc","main":"dist/rollup-plugin-jscc.cjs.js","module":"dist/rollup-plugin-jscc.es.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","engines":{"node":">=0.12"},"scripts":{"test":"node-version-gte-4 && mocha || mocha --compilers js:./buble-register","lint":"node-version-gte-4 && eslint src test/index.js || node-version-lt-4","pretest":"npm run build:cjs","build":"rm -rf dist/* && npm run build:cjs && npm run build:es6","build:cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.cjs.js","build:es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","prepublish":"npm run lint && npm run build:es6 && npm test"},"files":["dist","src"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","jspreproc","conditional comments"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://github.com/aMarCruz"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"buble":"^0.14.0","eslint":"^3.6.0","expect":"^1.20.2","mocha":"^3.0.2","node-version-check":"^2.1.1","rollup":"^0.36.0","rollup-plugin-buble":"^0.14.0","rollup-plugin-node-resolve":"^2.0.0"},"gitHead":"803d45fdb7d42770cb046e368d649b5d39fc0b37","_id":"rollup-plugin-jscc@0.2.0","_shasum":"734f6a660bd4b91d6e021f327c2d73867d1b85cd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"734f6a660bd4b91d6e021f327c2d73867d1b85cd","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.2.0.tgz","integrity":"sha512-tE3m/4lE5A3zc9o1MFuBPA2rN7B6TUJYKwg2zKB2oFMks4uEshcAIIofyBg9mmy1ahBobpswfBmwaPVN2pA3vQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHD6XkEh7ZXPQDbVhb3pTTBMse4iU9j8SyK6B68HEc5QIgNZ4I+8gf/xp0E2unGc5qW+DOlHVmlflI+XDEE+j36vQ="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.2.0.tgz_1474684815169_0.23650408256798983"},"directories":{}},"0.2.1":{"name":"rollup-plugin-jscc","version":"0.2.1","description":"Conditional comments and code cleanup for rollup, based on jspreproc","main":"dist/rollup-plugin-jscc.cjs.js","module":"dist/rollup-plugin-jscc.es.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","engines":{"node":">=0.12"},"scripts":{"test":"node-version-gte-4 && mocha || mocha --compilers js:./buble-register","lint":"node-version-gte-4 && eslint src test/index.js || node-version-lt-4","pretest":"npm run build:cjs","build":"rm -rf dist/* && npm run build:cjs && npm run build:es6","build:cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.cjs.js","build:es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","prepublish":"npm run lint && npm run build:es6 && npm test"},"files":["dist","src"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","jspreproc","conditional comments"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://github.com/aMarCruz"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"buble":"^0.14.0","eslint":"^3.6.0","expect":"^1.20.2","mocha":"^3.0.2","node-version-check":"^2.1.1","rollup":"^0.36.0","rollup-plugin-buble":"^0.14.0","rollup-plugin-node-resolve":"^2.0.0"},"gitHead":"bfdde74b0c1960a002eff890b99dabf8e12732b2","_id":"rollup-plugin-jscc@0.2.1","_shasum":"bc27d5a896d3e362c8159f495599dbf2dc0ce20b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"bc27d5a896d3e362c8159f495599dbf2dc0ce20b","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.2.1.tgz","integrity":"sha512-rNmUTxKpKeZh5R7sXzfNH3Y7+3jBWzodrBWX1fNUmwB9eeCQM0T1uWFzCyY+SjDO2YL6wUzTIS9Q0hTCdiFRJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeHmY2Xmtn5Mdefo9M7wxqViOIp25siUHP8qg2c2KsEwIgBBxhK9MK1R1VaS2XJdAzcV5/GxR2bPL+yOusyR4079E="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.2.1.tgz_1474739943104_0.6557537212502211"},"directories":{}},"0.2.2":{"name":"rollup-plugin-jscc","version":"0.2.2","description":"Conditional comments and variable replacement for rollup, based on jscc","main":"dist/rollup-plugin-jscc.js","module":"dist/rollup-plugin-jscc.es.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","engines":{"node":">=4.0"},"scripts":{"test":"mocha","lint":"eslint src test/index.js","pretest":"npm run build:cjs","build":"rm -rf dist/* && npm run build:cjs && npm run build:es6","build:cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.js","build:es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","prepublish":"npm run lint && npm test && npm run build"},"files":["dist","src"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","preproccesor","jspreproc","jscc","conditional comments","compilation"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://github.com/aMarCruz"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"buble":"^0.14.0","eslint":"^3.7.1","expect":"^1.20.2","jscc":"^0.3.0","mocha":"^3.0.2","rollup":"^0.36.0","rollup-plugin-buble":"^0.14.0","rollup-plugin-node-resolve":"^2.0.0"},"gitHead":"55264155c73bb107031bfe6526ecfa9ac185b290","_id":"rollup-plugin-jscc@0.2.2","_shasum":"92f966e3f32b044363fa48f31e2eee071e0f1756","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"92f966e3f32b044363fa48f31e2eee071e0f1756","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.2.2.tgz","integrity":"sha512-1bDzGc4G6npCP8GGZeo392jx0eZrMwAxlmhdhffVSDgdyctkTQiNghHGR+f7M+63q9ALTM88TNxwg2j6XQ9QgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe0oe+TrL2PvmZLJqNPGRnvLpX9QljHU6dKUD3c1tizwIgEsXcoU1q7D/eUzCkMQUx0JiIoeG3pmvL+OPUwVPPyU8="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.2.2.tgz_1476394304055_0.5220536135602742"},"directories":{}},"0.3.2":{"name":"rollup-plugin-jscc","version":"0.3.2","description":"Conditional comments and variable replacement for rollup, based on jscc","main":"dist/rollup-plugin-jscc.js","module":"dist/rollup-plugin-jscc.es.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","engines":{"node":">=0.12"},"scripts":{"test":"mocha","lint":"eslint src test/index.js","pretest":"npm run build:cjs","build":"rm -rf dist/* && npm run build:cjs && npm run build:es6","build:cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.js","build:es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","prepublish":"npm run lint && npm test && npm run build"},"files":["dist","src"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","preproccesor","jspreproc","jscc","conditional comments","compilation"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://github.com/aMarCruz"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"buble":"^0.14.0","eslint":"^3.8.1","expect":"^1.20.2","jscc":"^0.3.2","mocha":"^3.1.2","rollup":"^0.36.3","rollup-plugin-buble":"^0.14.0","rollup-plugin-node-resolve":"^2.0.0"},"gitHead":"f231a7b889ab654770f0fbec262f0247ad09067e","_id":"rollup-plugin-jscc@0.3.2","_shasum":"d43f58de2d0d40deb447027892298fb232ea71ac","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"d43f58de2d0d40deb447027892298fb232ea71ac","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.3.2.tgz","integrity":"sha512-vaKNziksHw6yOTt9Ix7eGCtrxX+igaZM1ErZ2z9xUAGVXu3gbyxJquPvlGoYhmxmgqy4sA80XgnVSGKwnJTLTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPTFgjxYkLk9Y1GjTFwhOfO8O5UYePYXEd4JNsklF3gAiEAn0xzEqmz5AwmSne9yJVF6cZJQApLPisIytmoyptDk78="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.3.2.tgz_1477170119835_0.4187039905227721"},"directories":{}},"0.3.3":{"name":"rollup-plugin-jscc","version":"0.3.3","description":"Conditional comments and variable replacement for rollup, based on jscc","main":"dist/rollup-plugin-jscc.js","module":"dist/rollup-plugin-jscc.es.js","jsnext:main":"dist/rollup-plugin-jscc.es.js","engines":{"node":">=0.12"},"scripts":{"test":"mocha","lint":"eslint src test/index.js","pretest":"npm run build:cjs","build":"rm -rf dist/* && npm run build:cjs && npm run build:es6","build:cjs":"rollup -c -f cjs -o dist/rollup-plugin-jscc.js","build:es6":"rollup -c -f es -o dist/rollup-plugin-jscc.es.js","prepublish":"npm run lint && npm test && npm run build"},"files":["dist","src"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"keywords":["rollup","rollup-plugin","javascript","es2015","es6","modules","preproccesor","jspreproc","jscc","conditional comments","compilation"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://github.com/aMarCruz"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","dependencies":{"magic-string":"^0.16.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"buble":"^0.14.0","eslint":"^3.8.1","expect":"^1.20.2","jscc":"^0.3.3","mocha":"^3.1.2","rollup":"^0.36.3","rollup-plugin-buble":"^0.14.0","rollup-plugin-node-resolve":"^2.0.0"},"gitHead":"f82d861f01c1e1c750d749d509c31e193a76de00","_id":"rollup-plugin-jscc@0.3.3","_shasum":"cacfd4ddf2010f4e0043cca6a8880edc8cd4410f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"shasum":"cacfd4ddf2010f4e0043cca6a8880edc8cd4410f","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-0.3.3.tgz","integrity":"sha512-+X6fuDFhoFnxcolSNgRsrE4BG6n52RefFGgNM7wMLtRycnt0zaFruhYYC5v9sUMBZOCOzUjsgAfpIfzbLj7ceg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGM/zto5VEGFO45EEDxbrFTTZB4/1v6hJYAXSu62CAz0AiEAu1uSXyhKM3Ssm5WGXpms/J0nQhwBVkWUwVzL/FPBg3Y="}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-jscc-0.3.3.tgz_1477316714875_0.5289680038113147"},"directories":{}},"1.0.0":{"name":"rollup-plugin-jscc","version":"1.0.0","description":"Conditional comments and variable replacement for rollup, based on jscc","main":"./index.js","types":"./index.d.ts","engines":{"node":">=6.0"},"scripts":{"lint":"eslint --ext js src test","pretest":"rollup -c","test":"nyc mocha","build":"rm -rf dist/* && rollup -c","prepublishOnly":"npm run lint && npm test"},"keywords":["rollup","rollup-plugin","javascript","typescript","es2015","es6","modules","compilation","preproccesor","jspreproc","jscc"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://amarcruz.github.io"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"dependencies":{"@jsbits/get-package-version":"^1.0.1","jscc":"^1.1.0","rollup-pluginutils":"^1.5.2"},"devDependencies":{"eslint":"^5.7.0","expect.js":"^0.3.1","mocha":"^5.2.0","nyc":"^13.1.0","rollup":"^0.67.3","rollup-plugin-node-resolve":"^3.4.0"},"gitHead":"04f0a4ff59c05e639680ef1bf4e44fb01c2dec4d","_id":"rollup-plugin-jscc@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"dist":{"integrity":"sha512-A35Se384xsBfm7eoMoayAfx6PNY7EHo0CT6SzcUCtQRizOuzBP0SEQ6HqbiVgdAtOBr7q6sBOKicCsDVvetcRA==","shasum":"675fa51c65efcaaeaa28feb03cfac6497360229e","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-1.0.0.tgz","fileCount":14,"unpackedSize":32799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+Iu9CRA9TVsSAnZWagAAOBsP/A+80hyBsv7cxFX8yD8u\ncl18AZVpLkKklC7Tht6xwyPtrA7S1r6wKm/y2QVlDsv2SEJE5mdPCrCRkGe6\nxtzwDuY2nD7VMiKf6YTX7kr/igX1u+pgdTrXlEpcMBQy3p8F8HtIIt7lwUKz\ndW/ynysNrVgpYByofDWUojqvgYtF870wUPLky9sENULViny8SHGIs0Noc0uc\nZz1WZap0AEEqvwuxzYybTKtsaGFlR494goofyEa4C63XWD/I9bAHCCu+hVwJ\nU14dZ7hvKrlFJlU+PUJsz7tZvKAcnuYLQD0JEW1FcIWjbnHD9DPj3Z/cretT\nICR2PIG4NMikHN5XqUgoi3gPuOEiYuvGYq7DninVf6bo1KlRc1B0WCkKRGnG\nub7PWfhDCTV8Go7hd4w4M5Y7l9/J5FiL5fYUDVEokOWHrkaiyf+1xtSuXkhE\n9IyiXEaZHq5FA/dmzY4k4c+rRanbzFLt+2gT+gt/VCG9aFRQcq3HQVCwp/wa\nEqUADfKUCwHAprEX2p0yb2YSA9SLQG+VeepS8q0CKEjPXnYgEofSWPmGXc0M\nDi8QOZQqvoewK/hNJ7QCeh614Cqp2BxUngSLO2RxA2NvNpyL21lQkg2jiGL3\nL9wcQbZCMb0Go7DGY6uYADjrET/RSc7paJhLddoHNXga4BA9CtK1wTDM1zPW\niEDE\r\n=k95o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF0mlKaH/K1S/k1zt9Vo4OirCAmTr+hlhufP0i8k1KZgIhANBTfUeVQzEyMwl130ZeFByiG3Idxiu0Xn/j9e4VYn5z"}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-jscc_1.0.0_1543015356506_0.2972317157311146"},"_hasShrinkwrap":false},"2.0.0":{"name":"rollup-plugin-jscc","version":"2.0.0","description":"Conditional comments and variable replacement for rollup, based on jscc","main":"./index.js","types":"./index.d.ts","source":"./src/index.js","engines":{"node":">=10.12.0"},"scripts":{"lint":"eslint -f unix --ext js src test","pretest":"rollup -c","test":"nyc mocha","build":"rimraf dist/* && rollup -c","prepublishOnly":"npm run lint && rimraf dist/* && npm test"},"keywords":["rollup","rollup-plugin","javascript","typescript","es2019","es2015","es6","modules","compilation","preproccesor","jspreproc","jscc"],"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://amarcruz.github.io"},"license":"MIT","bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"dependencies":{"@jsbits/get-package-version":"^1.0.3","jscc":"^1.1.1","rollup-pluginutils":"^2.8.2"},"devDependencies":{"@rollup/plugin-node-resolve":"^9.0.0","eslint":"7","expect.js":"~0.3.1","mocha":"5","nyc":"~15.1.0","prettier":"github:aMarCruz/prettier","rimraf":"~3.0.2","rollup":"^2.26.6","typescript":"3"},"peerDependencies":{"rollup":">=2"},"gitHead":"4c7ca9c6b532b4e234516333f13afaee958910a1","_id":"rollup-plugin-jscc@2.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-5jG9q79K2u5uRBTKA+GA4gqt1zA7qHQRpcabZMoVs913gr75s428O7K3r58n2vADDzwIhiOKMo7rCMhOyks6dw==","shasum":"1ad2f74ab3248dcaaa5ebff0b838418e22243ce6","tarball":"https://registry.npmjs.org/rollup-plugin-jscc/-/rollup-plugin-jscc-2.0.0.tgz","fileCount":16,"unpackedSize":37405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSN6aCRA9TVsSAnZWagAAhhkP/3npYZTgU0fusXp0U85E\nuYynkDwt8l5u5SEHcnCJXH5gbJrvUbR6d43iEOEmcmV+aU0vLVgJM6MzD3eC\nrErrP4HE3m23o0ApAKJ+oVRFQnYAf56rOIjAXXvBggL949tp6he6ldJxk839\n2MQCDFp9kAaEXFN17MWh0mSmiO+RBokx1MjOjysDO6wpp+Ef5zol/MAeRMXy\nI9aA8cs42Ej9qoSoWgw9yB+05aMlKN0Z/UyN8hwpmhqS05XJB0BHLODQITwJ\ngVF1vFZYPsiUC7L4aqdxgi6Z+s1PyvKmsX1I2SscU1xF9m4HKpDhcPlhl2re\nKB+8eNmsBkWMhctlU5FYtlJlTPT0UB7g3cXZ09BJuEVDn35TO5ErBHCnpI8Z\n9B0sBL5IqWY5OpSCeF7Vjd3e2Eenhiyzfbpz0/QivEvzlHevz0MCFCL+2AAv\nqnlPiQlOr26nI7Yz6cwbZXMVgjfklVyJTjB2EFMBHtl+GPUE6WvMBWFKSHf0\ntDnVVoG3W/SxM2c8tYUpI0hydh8fH6iyH4PJBwRYKQpL0DOaNwChdIUh+fBo\nwcHA7RQJ1Vubdl/N9KoSOXsBG5sT5FJHAB1lxFRBhu47AbU4hT7xis95NoOe\nx1DqmMlK3GE105nWNNtWCHHgHoahKoF05ihdIcwH8F+zs2m05/eiIwCPu8G+\ntOW1\r\n=DzJl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoQw+Sfr/uKv8hBHTzqXm4CV2UKaD3hkaBxjrHQD1JCwIhANgFAube611lofFgxYx3FSHOte7FnaLn0CQptLoNZPzK"}]},"maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"_npmUser":{"name":"amarcruz","email":"amarcruz@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-jscc_2.0.0_1598611098237_0.6801501885974306"},"_hasShrinkwrap":false}},"readme":"# rollup-plugin-jscc\n\n<!-- prettier-ignore-start -->\n[![npm Version][npm-badge]][npm-url]\n[![Build Status][build-badge]][build-url]\n[![AppVeyor Status][wbuild-badge]][wbuild-url]\n[![Maintainability][climate-badge]][climate-url]\n[![Test coverage][codecov-badge]][codecov-url]\n[![License][license-badge]][license-url]\n<!-- prettier-ignore-end -->\n\nConditional compilation and compile-time variable replacement for [Rollup](http://rollupjs.org/).\n\nrollup-plugin-jscc is **not** a transpiler, it is a wrapper of [jscc](https://github.com/aMarCruz/jscc), a tiny and powerful, language agnostic file preprocessor that uses JavaScript to transform text based on expressions at compile time.\n\nWith jscc, you have:\n\n- Conditional inclusion/exclusion of blocks, based on compile-time variables\\*\n- Compile-time variables with all the power of JavaScript expressions\n- Replacement of variables in the sources, by its value _at compile-time_\n- Sourcemap support, useful for JavaScript sources.\n- TypeScript v3 definitions\n\n\\* This feature allows you the conditional declaration of ES6 imports (See the [example](#example)).\n\nSince jscc is a preprocessor, rollup-plugin-jscc is implemented as a _file loader_, so it runs before any transpiler and is invisible to them. This behavior allows you to use it in a wide range of file types but, if necessary, it can be used as a Rollup _transformer_ instead of a loader.\n\n_**NOTE**_\n\nThe removal of non-jscc comments is not included, but you can use [rollup-plugin-cleanup](https://github.com/aMarCruz/rollup-plugin-cleanup), which brings compaction and normalization of lines in addition to the conditional removal of JS comments.\n\n## Support my Work\n\nI'm a full-stack developer with more than 20 year of experience and I try to share most of my work for free and help others, but this takes a significant amount of time, effort and coffee so, if you like my work, please consider...\n\n[<img src=\"https://amarcruz.github.io/images/kofi_blue.png\" height=\"36\" title=\"Support Me on Ko-fi\" />][kofi-url]\n\nOf course, feedback, PRs, and stars are also welcome 🙃\n\nThanks for your support!\n\n## Install\n\n```bash\nnpm i rollup-plugin-jscc -D\n# or\nyarn add rollup-plugin-jscc -D\n```\n\nrollup-plugin-jscc requires rollup v2.0 and node.js v10.12 or later.\n\n### Usage\n\nrollup.config.js\n\n```js\nimport { rollup } from 'rollup'\nimport jscc from 'rollup-plugin-jscc'\n\nexport default {\n  input: 'src/main.js',\n  plugins: [\n    jscc({\n      values: { _APPNAME: 'My App', _DEBUG: 1 },\n    }),\n  ],\n  //...other options\n}\n```\n\nin your source:\n\n```js\n/*#if _DEBUG\nimport mylib from 'mylib-debug';\n//#else */\nimport mylib from 'mylib'\n//#endif\n\nmylib.log('Starting $_APPNAME v$_VERSION...')\n```\n\noutput:\n\n```js\nimport mylib from 'mylib-debug'\n\nmylib.log('Starting My App v1.0.0...')\n```\n\nThat's it.\n\n\\* jscc has two predefined memvars: `_FILE` and `_VERSION`, in addition to giving access to the environment variables through the nodejs [`proccess.env`](https://nodejs.org/api/process.html#process_process_env) object.\n\n## Options\n\nPlain JavaScript object, with all properties optional.\n\n| Name | Type | Description |\n| --- | --- | --- |\n| asloader | boolean | If `false`, run the plugin as a `transformer`, otherwise run as `loader` (the default). |\n| escapeQuotes | string | String with the type of quotes to escape in the output of strings: 'single', 'double' or 'both'.<br>**Default** nothing. |\n| keepLines | boolean | Preserves the empty lines of directives and blocks that were removed.<br>Use this option with `sourceMap:false` if you are interested only in keeping the line numbering.<br>**Default** `false` |\n| mapHires | boolean | Make a hi-res source-map, if `sourceMap:true` (the default).<br>**Default** `true` |\n| prefixes | string &vert; RegExp &vert;<br>Array&lt;string&vert;RegExp&gt; | The start of a directive. That is the characters before the '#', usually the start of comments.<br>**Default** `['//', '/*', '<!--']` (with one optional space after them). |\n| sourcemap | boolean | Must include a sourcemap?<br>Should be the same value as the property `sourcemap` of the Rollup output.<br>**Default** `true` |\n| mapContent | boolean | Include the original source in the sourcemap, if `sourceMap:true` (the default).<br>**Default** `true` |\n| values | object | Plain object defining the variables used by jscc during the preprocessing.<br>**Default** `{}` |\n| extensions | string &vert; Array&lt;string&gt; | Array of strings that specifies the file extensions to process.<br>**Default** `['js', 'jsx', 'ts', 'tsx', 'mjs', 'tag']` |\n| include | string &vert; Array&lt;string&gt; | [minimatch](https://github.com/isaacs/minimatch) or array of minimatch patterns for paths that must be included in the processing. |\n| exclude | string &vert; Array&lt;string&gt; | [minimatch](https://github.com/isaacs/minimatch) or array of minimatch patterns for paths that should be ignored. |\n\n## Directives\n\nPlease see the [jscc wiki](https://github.com/aMarCruz/jscc/wiki) to know about directives used by jscc.\n\n## What's New\n\nPlease see the [CHANGELOG](CHANGELOG.md).\n\n## License\n\nThe [MIT License](LICENSE)\n\n[npm-badge]: https://img.shields.io/npm/v/rollup-plugin-jscc.svg\n[npm-url]: https://www.npmjs.com/package/rollup-plugin-jscc\n[build-badge]: https://img.shields.io/travis/aMarCruz/rollup-plugin-jscc.svg\n[build-url]: https://travis-ci.org/aMarCruz/rollup-plugin-jscc\n[wbuild-badge]: https://img.shields.io/appveyor/ci/aMarCruz/rollup-plugin-jscc/master.svg?style=flat-square\n[wbuild-url]: https://ci.appveyor.com/project/aMarCruz/rollup-plugin-jscc/branch/master\n[climate-badge]: https://api.codeclimate.com/v1/badges/896211f2169f2c1dcd62/maintainability\n[climate-url]: https://codeclimate.com/github/aMarCruz/rollup-plugin-jscc/maintainability\n[codecov-badge]: https://codecov.io/gh/aMarCruz/rollup-plugin-jscc/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/aMarCruz/rollup-plugin-jscc\n[license-badge]: https://img.shields.io/npm/l/express.svg\n[license-url]: https://github.com/aMarCruz/rollup-plugin-jscc/blob/master/LICENSE\n[kofi-url]: https://ko-fi.com/C0C7LF7I\n","maintainers":[{"name":"amarcruz","email":"amarcruz@yahoo.com"}],"time":{"modified":"2022-06-26T13:59:47.526Z","created":"2016-09-04T07:44:58.204Z","0.1.0-beta.1":"2016-09-04T07:44:58.204Z","0.1.2":"2016-09-08T15:11:35.908Z","0.2.0":"2016-09-24T02:40:16.993Z","0.2.1":"2016-09-24T17:59:04.602Z","0.2.2":"2016-10-13T21:31:45.053Z","0.3.2":"2016-10-22T21:02:01.767Z","0.3.3":"2016-10-24T13:45:16.653Z","1.0.0":"2018-11-23T23:22:36.696Z","2.0.0":"2020-08-28T10:38:18.342Z"},"homepage":"https://github.com/aMarCruz/rollup-plugin-jscc","keywords":["rollup","rollup-plugin","javascript","typescript","es2019","es2015","es6","modules","compilation","preproccesor","jspreproc","jscc"],"repository":{"type":"git","url":"git+https://github.com/aMarCruz/rollup-plugin-jscc.git"},"author":{"name":"aMarCruz","email":"amarcruzbox-git@yahoo.com","url":"https://amarcruz.github.io"},"bugs":{"url":"https://github.com/aMarCruz/rollup-plugin-jscc/issues"},"license":"MIT","readmeFilename":"README.md"}