{"name":"rollup-plugin-less","version":"1.1.1","description":"a rollup plugin for less files","main":"dist/rollup-plugin-less.js","jsnext:main":"dist/rollup-plugin-less.mjs","scripts":{"test":"mocha test/*.js","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*"},"keywords":["rollup","plugin","less","rollup-plugin"],"author":{"name":"yangxiaofu"},"license":"ISC","dependencies":{"babel-runtime":"^6.26.0","fs-extra":"^0.30.0","less":"^3.9.0","mkdirp":"^0.5.1","rollup":"^0.34.7","rollup-pluginutils":"^1.5.1"},"repository":{"type":"git","url":"git+https://github.com/xiaofuzi/rollup-plugin-less.git"},"devDependencies":{"assert":"^1.4.1","babel-plugin-external-helpers":"^6.18.0","babel-plugin-transform-async-to-generator":"^6.16.0","babel-plugin-transform-runtime":"^6.15.0","babel-preset-es2015":"^6.18.0","eslint":"^3.2.2","mocha":"^3.0.2","rollup-plugin-babel":"^2.7.1","rollup-plugin-node-resolve":"^2.0.0","source-map-support":"^0.4.2"},"gitHead":"3c6375a08c47603f8a1c88db58b18dc529b93df0","bugs":{"url":"https://github.com/xiaofuzi/rollup-plugin-less/issues"},"homepage":"https://github.com/xiaofuzi/rollup-plugin-less#readme","_id":"rollup-plugin-less@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"},"dist":{"integrity":"sha512-Mzlel4bnQwnLWX7OzbSvtG2ZX1SS5RvY4yo+qG8arO7SKi/J4jqQ2rLB86F81Q/5MO8X7h5RcQKFZIKhSE2Xkw==","shasum":"43d8189c9eb2813b2cdd88971c176386bcf246dd","tarball":"http://registry-npm.ywwl.com/rollup-plugin-less/download/rollup-plugin-less-1.1.1.tgz","fileCount":17,"unpackedSize":20985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJce+zBCRA9TVsSAnZWagAAhAgP/iKV+NHSsAgKUOoGOuBe\nIg8949AD5vsXE/H8W5DNr42tZvE01UyfhuYb4Eqp6awnhwGdO3eUY/f+E1np\nUpkO/oxJkRHDbbsfiuz6BQbUwihZAnL6chbCUxqEOSWZ9kGbbgKwA2Y+HQZc\nEa0OGLVzaaST6QtXcHo400OmGZ61myr3At0w+SX5VBfxVMIjmUZYZzMDPFIv\n9M86rS40+ON/EvoHgbBpAaIOBpV3PwGk+Ob8IojK+NmlAf1Ur7cIFISaThS3\nX1wAbcTy3YGQw4aa4S2N1W/y5L8trnDdlorKTqPgbaZyYWlVPhFbP4zj+zOi\nd5uadhvtpcZTuIX1IPFcPpL0YcVIEAVZItICvyAItM6UlZdmG5ahaG/C45dq\nnYDemMvwA1ewuvV3YhaohpNog3K312NmvErsy4YWanPkIz6CmSfe/1zDvL3e\n+MehLZKdJDWS796zfTRQaeujSrtox8qfFet3rEL5PrfsUR0ts85PI5zsFOK3\ntysoiOwzWmc2wxch3HOrKXseUcMJ5uSerhpOTtRHCnK65VdoNbHq6aMha1r5\nkKkEB40NEbBvuV4N0Tq4x64DgsKIrEq8ADwsPCSchqQeWXRgdx13g8lwQD78\nX3kjf34il0gXTXIZVOwSoAjk2ouEf+1Q2zdUbPe/qEJ4JTjZmsD08va9AQWg\no0dk\r\n=PSSj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHY2+RzAp6K56NUNmcFNc8IXS/VhRd6DItfsfpmWE6U3AiEAig9xjE0NDDOm7fFhaUIMEyFN2Yu8uz3EY9n52H8G+i0="}],"size":4723,"noattachment":false,"key":"/rollup-plugin-less/-/rollup-plugin-less-1.1.1.tgz"},"maintainers":[{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-less_1.1.1_1551625408691_0.5178582532647127"},"_hasShrinkwrap":false,"readme":"## Install\n\n```node\nnpm install rollup-plugin-less --save\n```\n\n## usage\n\n```js\nimport './test.less';\n//generate css will be auto insert to the head tag if you set insert be true\n```\n\n```js\nimport { rollup } from 'rollup';\nimport less from 'rollup-plugin-less';\n\nrollup({\n    entry: 'main.js',\n    plugins: [\n        less()\n    ]\n});\n```\n\n\n## Options\n\n### insert\n\n+ Default: `false`\n+ Type: `Boolean`\n\nIf you specify `true`, the plugin will insert compiled CSS into `<head/>` tag.\n\n### output\n\n+ Default: `rollup.build.css`\n\n+ Type: `String|Function|Boolean`\n\nIf you specify a string, it will be the path to write the generated CSS.\nIf you specify a function, call it passing the generated CSS as an argument.\nIf you specify a boolean, true will write the generated CSS to `rollup.build.css`, false won't write the file.\n\n### include\n\n+ Default: `[ '**/*.less', '**/*.css' ]`\n\n+ Type: `String|Array`\n\nMinimatch pattern or array of minimatch patterns to determine which files are transpiled by the plugin.\n\n### exclude\n\n+ Default: `node_modules/**`\n\n+ Type: `String|Array`\n\nMinimatch pattern or array of minimatch patterns to determine which files are explicitly not transpiled by the plugin, overrules the `include` option.\n\n### option\n\n+ Type: `Object`\n\nOptions for [less](http://lesscss.org/usage/#programmatic-usage).\n","publish_time":1551625408877,"_cnpm_publish_time":1551625408877,"dist-tags":{"latest":"1.1.3"}}