{"name":"rollup-plugin-less","version":"0.1.5","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":"^2.7.1","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":"874ccef17b9d40ac0d8803db81c29e59a46476d6","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.5","_npmVersion":"6.3.0","_nodeVersion":"9.2.1","_npmUser":{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"},"dist":{"integrity":"sha512-986IpqSZivK4VfgR6C1PygMa3SflyX5wz/9KwnuS++vV/t7XEC8X8tjG/hVF/QokOc0yiAyVASfTR3Dz2QvXHQ==","shasum":"d6cfca6239ede23e4f9b422458c92995fabc8645","tarball":"http://registry-npm.ywwl.com/rollup-plugin-less/download/rollup-plugin-less-0.1.5.tgz","fileCount":18,"unpackedSize":88297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2RfVCRA9TVsSAnZWagAAKDMQAJPUXapte1GS+dNzqI0v\nxMZl2XNpVJxAG+u++rjvwlocdhExE+tVkI196RbSABbWW/zEx1Kj9YtqOzyn\n3dGKSqjJOFeLbZUcK92abtmsqVcUq+D5D6aEKGazw/G0sIYj6TndE1aP389n\nSzC/RWE7GavXtxLLKAxQBm60l/ZSAIcIyJwghDo8VshsjiKLsL5iB+4lYjj3\nGylP5bHIz9F9x1ToLsKCJOdgNovOL4w09vN2Mi1MctBDgXbOSO9snr42XnzB\npjM0t6vloCvGLLBoZPEcnFHAGUuqASMHxBks1DSUuWKJcixKLf8CNfAZ9We4\nyHpbuQs9IpjtoGnAp8vVUthigzBQ3bqKc3Y8/PkW6q6OH8gwhQ5yC1URCnZl\nWJktwQ0KY224QhJVQRnKutYkpMlgIRBbf3WY3iz0i8AJj6/GJe1qmAnyQBxn\naaB565IyeyFtdpfDL6W1iBCs45uEbtUi5MEGaVk3vN38+QkyrrSzFoxKRONF\nGpbRD5BTTKQ/EQgDkfRG1gE1WmInA2L4MuJybvaXgObzCHBvlRCU7Ao14sSQ\nbvfZh+W+bY4xHUKDk14bUHCMG4Bk7KX2jCktPpMfx+4JoNTImmbv7g2RQJ4z\niPVGk+6nsAbEEG9yxFdla2C7TJ+Ikfm3LI67HuB7w7HbTMfLth4VzuuzSTf0\nkYv7\r\n=QYJg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPsfjCQB/vyRgC3rNn0p+NqlX2dMSYTp1eaAGAEXr/7AIgWkQDqdYZUi9cH3X1UBn6P7VGEYy3EaVHHNgtepKmpwk="}],"size":23255,"noattachment":false,"key":"/rollup-plugin-less/-/rollup-plugin-less-0.1.5.tgz"},"maintainers":[{"name":"yangxiaofu","email":"yangxiaofuPL@163.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rollup-plugin-less_0.1.5_1540954068836_0.07741654503984763"},"_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":1540954068995,"_cnpm_publish_time":1540954068995,"dist-tags":{"latest":"1.1.3"}}