Created
November 1, 2014 09:08
-
-
Save khannedy/855ff08b55586c0a8ede to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm init | |
npm info it worked if it ends with ok | |
npm verb cli [ 'node', '/usr/local/bin/npm', 'init' ] | |
npm info using npm@2.1.5 | |
npm info using node@v0.10.33 | |
npm verb node symlink /usr/local/bin/node | |
This utility will walk you through creating a package.json file. | |
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: (nodejs-mysql) | |
version: (1.0.0) | |
description: Belajar NodeJS | |
entry point: (index.js) | |
test command: | |
git repository: | |
keywords: | |
author: Eko Khannedy | |
license: (ISC) | |
About to write to /Users/khannedy/Developments/nodejs-mysql/package.json: | |
{ | |
"name": "nodejs-mysql", | |
"version": "1.0.0", | |
"description": "Belajar NodeJS", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "Eko Khannedy", | |
"license": "ISC" | |
} | |
Is this ok? (yes) yes | |
npm info init written successfully | |
npm verb exit [ 0, true ] | |
npm info ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment