{"name":"rollup-plugin-less","version":"1.1.2","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","growl":">=1.10.0"},"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":"c6e8cfd35def796d30c3cb8253d98758c037ebff","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.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"},"dist":{"integrity":"sha512-tRyUEc7dqzrmwDNKWbKyPN9vxmr2l+4G+2BqqLIccfoowuNwa/IfRMrfs892Mr9EjotDO/KDV1KC+AXXNNCYKA==","shasum":"c4bffacc24928b7f657a7a06e09930a3e2ebdfad","tarball":"http://registry-npm.ywwl.com/rollup-plugin-less/download/rollup-plugin-less-1.1.2.tgz","fileCount":17,"unpackedSize":21010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJce+6eCRA9TVsSAnZWagAAF68QAJsUz4fqg2uMCf88cjsE\nXDEQizoY82Rci1jVZW3vqXBpicO7PQtVLAvqqb2gVO/mmWgRfdirYk4/LBUV\n5q4PQusT2GWtHG06EeFtpdMdAlY2wbfSlA9GbiDv5M/yYQ2/HBPl9qVe0hYK\nO3yDDNMtWrHOtfUriC81iSqOrtqUvjx2yHFacWpx+vKrJdj4BYZvnUWjfgfp\n3gBIMKD49Bg4ySbuApgfEAOaT7c7+7BZkyx8dSzlHVeTKxoVhLqQhzWPDFzt\nTkPDlKWdb/AjiWCWeKXQi+wU6SXTQOzOnbKitbcAHsMLo7R7biIPME4HxdkT\nDQ16OdnoyP79SXn2CA5FJPMJTUZumz13bYsqdCoOnI6SsGUsq68lK09IOf45\nEqaeh6a+/t99ypY+NRzehdlSMJ5Lq2e9giG4v7kAhUshtnOlPhP/5nljCCrY\nSEzTWQqPwCYuAyTpgueGTyHM1Hh5sUUdvCEvmL53vzHcLYkP7cEZctNdxmrx\n9JLNktTf9pgZ5fC6Fhc4HExxT16dEQTIkIRlR3kAXofzl4ovH6G7S9jlGtMJ\nxF8Pof0an6R6ALTf4LtCE5xbOb0EMZIS+OZBRc79/OJ1rICLpZyIcx7LYcJS\nw32/ZmoAwL4UHt1z2spPvl1pl8E5fJKUTr9+Mdw3tIuNZW5LYXujkI/aN24b\n1C7l\r\n=432x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGssEZcGOGrN6dQrFWhfD0DcuxNfwrSNYhc5o6q+DcpKAiEAw1U7rm5xLOqd96quKTYwgtN5Kvxezy5S5jU4smRxfyU="}],"size":4737,"noattachment":false,"key":"/rollup-plugin-less/-/rollup-plugin-less-1.1.2.tgz"},"maintainers":[{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-less_1.1.2_1551625885842_0.5372194660601597"},"_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":1551625886058,"_cnpm_publish_time":1551625886058,"dist-tags":{"latest":"1.1.3"}}