{"_id":"spm-demo02","_rev":"31-7bc44b478d7e1830ac73a5fe11415fde","name":"spm-demo02","description":"test spm plugin .","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"spm-demo02","description":"The best spm plugin ever.","version":"1.0.0","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"_id":"spm-demo02@1.0.0","dist":{"shasum":"cbdbb3bd6f926d0335a85ab096f14f336e055e1a","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.0.tgz","integrity":"sha512-mX65CgUP9CXVCPPIAQ4xk1k/xA5hf6rYhD3H8rRjwIsx1qjt0WeBXg+YTowDmAmBhRfzAxGk2/X/8Il5Ux7xhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh8H2YRTX0Imb6M1b2sUpO9R+oNZVvWC4qnUhbF3IICAIhALOojYyuDtcWqoVHfUg1Hj5fK4jIuhy9HGzpoxLaNLMZ"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.1":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.1","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"_id":"spm-demo02@1.0.1","dist":{"shasum":"89946ffea8aab76c445dc5948309fd064ae6dfc0","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.1.tgz","integrity":"sha512-xR9ypnTUbeBIjlNwmue85x1PA5EkY8xhVlZPkFxUrN5eHrSWfFGdxcDXWQPwY6t0812KgnqJ+ozcxNdOLs/Ilg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHk5EaPiqRdOqpwXZMNtbdqkSlXbGpvvgFNVp4HnqwiWAiAgJIeb2NpPgiuG1LGxbBkXSM3mtAjWgpIHGOeubYsedA=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.3":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.3","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"_id":"spm-demo02@1.0.3","dist":{"shasum":"60c7142b85f4c83bf7f83ce20ed3c57fd708f98e","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.3.tgz","integrity":"sha512-DRpn7vJ26Zq892z7GUFTgloBXfxOltJ5GIz7cUD+FnCG8D4rIr1TKMn9uGci5WzrwUqqRgKyXVjT5dtcKmI10g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrBJFzSim0KRYjgZqTwzWmOBAcBDxZr4uOshgpSUJTVAIhALuCzCyX9nhmdJMLSOaRPGI8mbMTSyzDPAOMey9QHPNh"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.4":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.4","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"_id":"spm-demo02@1.0.4","dist":{"shasum":"bad220dc7675d05dc14da21e7dc22ce7257e1cba","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.4.tgz","integrity":"sha512-FLQEnDP8KW2by6sn3SWCfFaF8hLk8l/JSaMWBHS2F0dCyw39GQnECttsimvqpAoRIfs/qG57aqF/EfIprYrzeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3vxBIKwAfavz1779rIitT/bCa6IZYsx+KA1CmS/9XjQIgQS3klkdHtKIWdI35rYfzfrCd5ho1lWTjPpfVtDljcXI="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.5":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.5","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"dependencies":{"grunt-ftp-deploy":"~0.1.1"},"_id":"spm-demo02@1.0.5","dist":{"shasum":"e215599ec7b2450a0055ea4d43735ef49df86202","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.5.tgz","integrity":"sha512-LN0vS8UDgnP6n/WOgf1bNihp34RQVvnIJlLrXPwcNwSkSNUtDzk87NofYgw9BldI6h418mef8MUDAXtJVi6Y1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMg8LKOmAUwSsPCVdLOCCzm6tWQslc+3KOW21dHAUYbAiEAtpFDxLr+n0doC0IJb8M6tH0AhS1a35kPbomyKPvZ42c="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.6":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.6","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"dependencies":{"grunt-ftp-deploy":"~0.1.1"},"_id":"spm-demo02@1.0.6","dist":{"shasum":"efda261ae7ba32f04219869a1f727f0482f28d55","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.6.tgz","integrity":"sha512-/Wpl7w02IDmnxy1IBZQhVqe5DH+yJXlgIdATSD3qi6bq6azM0seQyaeyOzLZJDhQjBwCDl6I/6SzIJldtr7qJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYX2XHw0c110ouVnkaffwZ/GTiMed3/8OtCeFy1evMOAiEAyycKV1h4p+7pde7ZRxf3SYwYMjXG9TQkNRlfc5jtM1Y="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.7":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.7","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"dependencies":{"grunt-ftp-deploy":"~0.1.1"},"_id":"spm-demo02@1.0.7","dist":{"shasum":"4934bb4926c99309f273f068ee7fba9cbfd86a17","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.7.tgz","integrity":"sha512-CY38W9fYuKdDrArL25gD4+QwTgTYXEZmwmfULf+d5cUj2XnzNtph++BF92JTYnXU2M6urK8JVxQst3bXFlw7VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfum9gO0cZ+ADkm1VPv7dm1oJpIlMPT3Ok+uDfP/qyFgIhAN+N5KhCqIk1OzB6DBHcdv/2XlqPRG8yObY4HBAdJC/O"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.8":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.8","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"push":"./_site/"},"dependencies":{"grunt-ftp-deploy":"~0.1.1"},"_id":"spm-demo02@1.0.8","dist":{"shasum":"6cd9879652d839d26c6516529cc8f43aa93e706a","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.8.tgz","integrity":"sha512-wBESmH6kLxYHsF8H4Gh0RuWLgy/e9LsRhr27qVgST8Gd2iBppjPsLcBjA8smx5a+HzY9uyhpSybk6ll+1qjNPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICS6BRraIWDpZquowGM4yjLVXg1m36ci6Z0mmFS5PSO3AiEA/njyNSCy7SEdrWkTtY1AO86owviTFu0a3Z9V/T7INos="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.0.9":{"name":"spm-demo02","description":"test spm plugin .","version":"1.0.9","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"ftpx":{"host":"172.19.103.15","port":21,"authKey":"publisher","dest":"/lego/2.1.0/demo/switchable/tests","src":"_site/","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]},"ftp":{"host":"192.168.1.104","port":21,"authKey":"publisher","dest":"/upload","src":"/bin","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]}},"dependencies":{"grunt-ftp-deploy":"~0.1.1"},"_id":"spm-demo02@1.0.9","dist":{"shasum":"1ddd74a4905b27f72716fc176090699c517fd07d","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.0.9.tgz","integrity":"sha512-o5dys5Td9xL36LMMPUFyHXpzfbHFoJEo0j719t7QEnva1QnuO+AilwVMX5M58uXtgVEorRsNBznuAftDe5f+Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2wzknILHxmFvO3qNvIwXO1Tqkb5FvFR8hgvpR/Ry9wgIhAPRYEP802N10AkgKTDG4Bg2bChI3KQ9JxgtqHO0flUhH"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.1.0":{"name":"spm-demo02","description":"test spm plugin .","version":"1.1.0","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"ftp":{"host":"192.168.1.104","port":21,"authKey":"publisher","dest":"/","src":"/bin","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]},"ftpx":{"host":"172.19.103.15","port":21,"authKey":"publisher","dest":"/lego/2.1.0/demo/switchable/tests","src":"_site/","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]}},"dependencies":{"grunt-ftp-deploy":"~0.1.1"},"_id":"spm-demo02@1.1.0","dist":{"shasum":"7e2f55df281e13cbf012c2c75b7bf2128dce374e","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.1.0.tgz","integrity":"sha512-+HOrMvUd/rzperp8IEW5esf/5zJJqiCKUrpp0VoOQp6InaOAg/2JUOkaZzdhm3HOl+woeG5x1ZL0NLQ98qzXpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOPVB5VRz6ePOqOC+JObzVXRzQoy1zhpl7sftmVWuXIAiBGmWFkCoIoWUU0tPOmQk7o4sf8T8fSUZu4eSKs6IDL/g=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.1.1":{"name":"spm-demo02","description":"test spm plugin .","version":"1.1.1","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"ftp":{"host":"192.168.1.104","port":21,"authKey":"publisher","dest":"/","src":"/bin","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]},"ftpx":{"host":"172.19.103.15","port":21,"authKey":"publisher","dest":"/lego/2.1.0/demo/switchable/tests","src":"_site/","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]}},"dependencies":{"grunt-ftp-deploy":"~0.1.1","grunt-cmd-transport":"~0.4.1"},"_id":"spm-demo02@1.1.1","dist":{"shasum":"036bb3ff6dc8a975358ea7ce79b74c5ca8808e6e","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.1.1.tgz","integrity":"sha512-Ncjb3ixhfXN7ePUiVP0Oina3dhhvdLu5yIPLLUB4mD0RQI0qC7TaQGipOGtumIj+BxMro2RT0/F4axi7CUIOZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtY+nMumAIOhr4vrU437MH2Ufcb++FTWbG/lgM7OwmQAiEAgzakoemZ0HSol8TzN6EOIZI6yZrM3pyo2wH0JIdnUhA="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.1.2":{"name":"spm-demo02","description":"test spm plugin .","version":"1.1.2","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"spm":{"ftpx":{"host":"192.168.1.104","port":21,"authKey":"publisher","dest":"/","src":"/bin","exclusions":["package.json",".gitignore",".DS_Store",".svn","bak"]},"ftp":{"host":"172.19.103.15","port":21,"authKey":"publisher","dest":"/lego/2.1.0/demo/switchable","src":"_site","exclusions":["package.json",".gitignore",".DS_Store",".svn",".idea","bak"]},"build":{"dest":"../../../lego","src":"src"},"release":{}},"dependencies":{"grunt-ftp-deploy":"~0.1.1","grunt-cmd-transport":"~0.4.1"},"_id":"spm-demo02@1.1.2","dist":{"shasum":"34289f8ef60dda94ca3460bfc64963832ed65178","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.1.2.tgz","integrity":"sha512-gQo+wUuWZu5RqpjMeqv0yTwtdttHUN0AEj3nfWKyamvekfbiuSZw23lAPXQtrdEFs9P6DpHH0tKKw+4kN/GdCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsqWiZ9SrsdehXc77s7H7bPhx+LUF7nPcoCw0D3VEzyAiEA1VKs+e0GUkWwyULwc7KoyjQYEpwYCu+ad6VEDyMk5JY="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]},"1.1.3":{"name":"spm-demo02","description":"test spm plugin .","version":"1.1.3","homepage":"https://github.com/adi/demo02","repository":{"type":"git","url":"git://github.com/adi/demo02.git"},"bugs":{"url":"https://github.com/adi/demo02/issues"},"licenses":[{"type":"MIT","url":"https://github.com/adi/demo02/blob/master/LICEE-MIT"}],"bin":{"spm-demo02":"bin/spm-demo02"},"keywords":["spmplugin"],"scripts":{"postinstall":"node scripts/postinstall.js","uninstall":"node scripts/uninstall.js"},"dependencies":{"grunt-ftp-deploy":"~0.1.1","commander":"~1.1.1","spm-grunt":"~0.1.7","grunt-cmd-transport":"~0.4.1"},"_id":"spm-demo02@1.1.3","dist":{"shasum":"bb0ae683c06706d44271dd1646e90dfffd70f2ab","tarball":"https://registry.npmjs.org/spm-demo02/-/spm-demo02-1.1.3.tgz","integrity":"sha512-wx5eKXx5x68N+mWPch8KJBlQlajK9ysQTi7L0Y1qH6edw5uR5dpJi3JBzdod5+rNp2PHS89wK7DkUfRAFl34oQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+jE0Htq2Em8n4LE5GrtcA4EkipSCSOIdvHOrBIBlELAiB+FfDrbJ6NKJy+Y96hWx3ECUC6DZPuorGUR4zjbUNkhQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"twlk28","email":"twlk28@gmail.com"},"maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}]}},"readme":"## 安装\n`npm install spm -g`\n\n`npm install spm-lego -g`\n\n## 使用\n\n### 一、插件配置\n* 配置来源：命令行参数、包描述文件、Grunt配置\n* 配置优先级：按照调用频繁度设置，由高到低\n\t1. 命令行\n\t2. 包描述文件，见 package.json中的spm部分，需手动添加\n\t3. Grunt配置，见 `/lib/config.js`\n\n#### 在package.json加入spm的配置：\n\t\n\t\"ftp\": {\n      \"host\": \"172.19.103.15\",\n      \"port\": 21,\n      \"authKey\": \"publisher\",\n      \"dest\": \"/lego/2.1.0/demo/switchable/\",\n      \"src\": \"_site/\",\n      \"exclusions\": [\"package.json\", \".gitignore\", \".DS_Store\", \".svn\", \"bak\"]\n    }\n\n#### 在package.json同级目录，添加.ftppass FTP登录用户信息\n\t{\n\t\t\"publisher\": {\n    \t\t\"username\": \"limo\",\n    \t\t\"password\": \"limo123\"\n  \t}\n\n\n###二、插件命令\n约定：在组件示例根目录（即`spm init`初始化的目录）执行以下命令\n\n`spm lego -p [dest] [src]` \n\n1. 上传 `./_site/*` 到ftp\n2. [dest]：ftp路径，缺省 `/`\n3. [src]：本地路径，缺省`./_site`\n\n`spm lego -b [dest] [src]`\n\n1. 构建组件模块，即组件示例中的源码\n2. [dest]: 构建完成的路径，缺省 `../../../lego/组件/版本` \n3. [src]: 构建前源码，缺省 `./src`\n\n`spm lego -r`\n\n1. 构建业务文件，业务项目的根路径与lego、arale、gallery同级\n2. 业务模块不需手动写id、deps\n3. 构建完成的路径`/dest`，交付下游\n\n\n#### 命令设计说明\n* 参数顺序，考虑了使用习惯、频率\n* 参数缺省值，根据工作流目录结构，如：ftp、amkit\n","maintainers":[{"name":"twlk28","email":"twlk28@gmail.com"}],"time":{"modified":"2022-06-26T22:59:50.949Z","created":"2014-01-28T07:33:21.766Z","1.0.0":"2014-01-28T07:33:24.685Z","1.0.1":"2014-01-28T09:33:04.665Z","1.0.3":"2014-01-28T09:36:59.388Z","1.0.4":"2014-01-28T09:39:44.399Z","1.0.5":"2014-01-28T10:00:51.952Z","1.0.6":"2014-01-28T10:02:52.515Z","1.0.7":"2014-01-28T10:07:30.950Z","1.0.8":"2014-01-28T10:15:01.068Z","1.0.9":"2014-01-29T04:17:53.107Z","1.1.0":"2014-01-29T06:17:45.894Z","1.1.1":"2014-02-02T05:45:35.471Z","1.1.2":"2014-02-08T08:56:56.848Z","1.1.3":"2014-02-10T06:29:13.680Z"},"readmeFilename":"README.md","repository":{"type":"git","url":"git://github.com/adi/demo02.git"}}