Wednesday 15 January 2014

javascript - why does npm init actually initialize a grunt project? -


I am trying hard to understand the node ecosystem and how NPM and its packages work together and let me It looks very strange npm init launches a "hoarse project" and a package in its directory. Adds jsio file.

Since the node package manager manages many different "packages", I expect something more like npm grunt init

Anyone here But what fills me on what is happening and which makes the hoarse special main npm init command?

** Important note ** After studying and understanding it is much better, I strongly advise that you neither Grant NOR Gulp And instead take the middle man out and use NPM scripts for your front-end construction needs. For more information see this

all npm init does signal to you (See below) to create a package. Jayson, nothing is rude about it. Description: Entry Point: (Index JS) Command: GIT Repository: Keywords: Author: License: (BSD)

  Name: (Test) Version: (0.0.0) / Pre> 

Grant must have been (and possibly must) installed with NPM, but this is definitely not part of starting your package. Jason

You can read more about package.json.

No comments:

Post a Comment