{"name":"rollup-plugin-less","version":"0.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 --compilers js:buble/register","pretest":"npm run build","build":"rollup -c","prebuild":"rm -rf dist/*"},"keywords":["rollup","plugin","less","rollup-plugin"],"author":{"name":"yangxiaofu"},"license":"ISC","dependencies":{"fs-extra":"^0.30.0","less":"^2.7.1","rollup":"^0.34.7","rollup-plugin-buble":"^0.12.1","rollup-pluginutils":"^1.5.1"},"repository":{"type":"git","url":"git+https://github.com/xiaofuzi/rollup-plugin-less.git"},"devDependencies":{"assert":"^1.4.1","eslint":"^3.2.2","mocha":"^3.0.2","rollup-plugin-node-resolve":"^2.0.0","source-map-support":"^0.4.2","babel-plugin-transform-async-to-generator":"^6.8.0","babel-plugin-transform-runtime":"^6.8.0","babel-preset-es2015-rollup":"^1.1.1","rollup-plugin-babel":"^2.4.0"},"gitHead":"6d74920a2b10e312a04e71bdac659c21d979b94d","bugs":{"url":"https://github.com/xiaofuzi/rollup-plugin-less/issues"},"homepage":"https://github.com/xiaofuzi/rollup-plugin-less#readme","_id":"rollup-plugin-less@0.1.1","_shasum":"18bdefce168d4ee370e45c0dabf7aed96bf9a347","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.7.0","_npmUser":{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"},"dist":{"shasum":"18bdefce168d4ee370e45c0dabf7aed96bf9a347","tarball":"http://registry-npm.ywwl.com/rollup-plugin-less/download/rollup-plugin-less-0.1.1.tgz","integrity":"sha512-7b9a/2y1aaDfkHoWZoEMI0F10KKzT4CXl5RWOO433QW20vcNM6nT3SiI3r8b5jYZWF/4tBga047DkCZH2IVfgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTGgcwghHYBM3G0jditGtV2i2s5Hny5tlqKycbfiDFaAiEAjIdJHfJUTmCaGKro8OkAfjl5jZoT3fYLzuwfb3M8LtI="}],"size":4647,"noattachment":false,"key":"/rollup-plugin-less/-/rollup-plugin-less-0.1.1.tgz"},"maintainers":[{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rollup-plugin-less-0.1.1.tgz_1480648863149_0.5387310946825892"},"directories":{},"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":1480648865126,"_cnpm_publish_time":1480648865126,"dist-tags":{"latest":"1.1.3"}}