好多模板啊,一个个安装麻烦。。。
npm search grunt-init
npm http GET http://registry.npm.taobao.org/-/all/since?stale=update_after&start
key=1406991488419
npm http 200 http://registry.npm.taobao.org/-/all/since?stale=update_after&start
key=1406991488419
NAME DESCRIPTION
grunt-init-angular-app Grunt Scaffold for Angular Apps
grunt-init-assemble Initialize new Assemble projects.
grunt-init-assemble-helper Quickly create a Handlebars helper that can easily be
grunt-init-baconplugin > Create a [Bacon.js][] plugin module with [grunt-ini
grunt-init-basic grunt-init template for a very basic project. include
grunt-init-block Generates css file structure according to classes use
grunt-init-browser Grunt init template for generating and testing multip
grunt-init-command Commonjs template for command
grunt-init-crison Grunt initializer template using Jade, Stylus & Coffe
grunt-init-es6 Start a project, authored in ES6, transpiling to AMD,
grunt-init-ghpages Quickly build gh-pages documentation from a project R
grunt-init-grunt-task Create a Grunt Task module with CoffeeScript, Mocha,
grunt-init-gruntplugin Initialize new grunt plugins.
grunt-init-gruntplugin2 Standard init:gruntplugin with better test functional
grunt-init-helper Quickly create a Handlebars helper that can easily be
grunt-init-helper-mod Quickly create a Handlebars helper that can easily be
grunt-init-hull A grunt-init plugin to bootstrap a Hull.io project
grunt-init-init Create a grunt template from any grunt template
grunt-init-jekyll Initialize new Jekyll projects.
grunt-init-mootools Grunt plugin to generate Mootools plugin stub.
grunt-init-node-bin Create a Node.js module with Executable, CoffeeScript
grunt-init-node-coffee Create a Node.js coffeescript project with grunt-init
grunt-init-phonegap A grunt-init template that simplifies the process of
…
grunt-init-plugin Grunt plugin to generate grunt init templates
grunt-init-project Grunt plugin to generate project files and structure
grunt-init-proto grunt-init template for a jekyll static site. Include
grunt-init-stasi Grunt initializer template for stasi
grunt-init-webcomponent Create a basic setup for authoring Web Components usi
grunt-init-yui Create a YUI module with grunt-init.
grunt-initconfig Conventionally init your configurations
grunt-template-coffee Grunt-init scaffolding template for CoffeeScript…
ng-component Angular Angular Module Scaffold for GruntJS
shell_lines multi-line shell script for grunt-init.
universal UMD grunt-init template
#使用通配符安装,失败了,肿么办? H:>cd node
H:\node>npm install -g grunt-init*
npm http GET http://registry.npm.taobao.org/grunt-init*
npm http 404 http://registry.npm.taobao.org/grunt-init*
npm ERR! 404 'grunt-init*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "grunt-init*"
npm ERR! cwd H:\node
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! H:\node\npm-debug.log
npm ERR! not ok code 0
已安装软件包查询,怎么乱码了?
npm list -g | grep grunt
鈹溾攢鈹?grunt-cli[@0](/user/0).1.13
鈹溾攢鈹?grunt-init[@0](/user/0).3.1
鈹?鈹溾攢鈹?grunt[@0](/user/0).4.4
鈹?鈹?鈹溾攢鈹€ grunt-legacy-util[@0](/user/0).1.2