了解每个技术是做什么的以及用于什么场景。
bower helloworld
circle ci helloworld
component helloworld
gulp helloworld(grunt helloworld)
npm helloworld
Bower 是 'twitter' 推出的一款包管理工具,基于nodejs的模块化思想,把功能分散到各个模块中,让模块和模块之间存在联系,通过 Bower 来管理模块间的这种联系. bower插件是通过npm, Node.js包管理器安装和管理的.
npm install -g bower
如权限不足
sudo npm install -g bower
bower install angularjs
bower init
{
"name": "tab-plugin",
"version": "v0.0.0",
"authors": [
"kezhizhi <kezhizhi@163.com>"
],
"description": "a jquery-plugin",
"main": "jquery.lt_tab.js",
"keywords": [
"tab",
"plugin"
],
"license": "MIT",
"homepage": "git://github.com/kezhi/tab-plugin.git",
"dependencies": {
"jquery": "latests"
},
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
git init
git add .
git commit -m "tab-plugin"
git remote add origin git://github.com/kezhi/tab-plugin.git
git push -u origin master
bower register tab-plugin git@github.com:kezhi/tab-plugin.git
bower search tab-plugin
bower install tab-plugin