Database Reference
In-Depth Information
It only covers the most common items, and tries to
guess sane defaults.
See `npm help json` for definitive documentation on
these fields
and exactly what they do.
Use `npm install <pkg> --save` afterwards to install a
package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
name: (myproject)
version: (0.0.0) 1.0.0
description: My first node.js project
entry point: (index.js)
test command: mocha
git repository:
keywords:
author: Byron Ellis
license: (BSD)
About to write to /Users/bellis/Projects/wiley/
chapter7/myproject
/package.json:
{
"name": "myproject",
"version": "1.0.0",
"description": "My first node.js project",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"repository": "",
"author": "Byron Ellis",
"license": "BSD"
}
Is this ok? (yes) yes
It is also customary to include a README.md file in NPM-managed projects.
If this file does not exist, NPM complains regularly until it is added. After
Search WWH ::




Custom Search