Created
September 18, 2018 22:09
-
-
Save Arxcis/42ef654a811cf5b7b801a61800d41dd5 to your computer and use it in GitHub Desktop.
npm init
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
jonasjso in ~/Desktop/npmcoolinit | |
$ npm init | |
This utility will walk you through creating a package.json file. | |
It only covers the most common items, and tries to guess sensible defaults. | |
See `npm help json` for definitive documentation on these fields | |
and exactly what they do. | |
Use `npm install <pkg>` afterwards to install a package and | |
save it as a dependency in the package.json file. | |
Press ^C at any time to quit. | |
package name: (npmcoolinit) | |
version: (1.0.0) | |
description: | |
entry point: (index.js) | |
test command: | |
git repository: | |
keywords: | |
author: | |
license: (ISC) | |
About to write to /Users/jonasjso/Desktop/npmcoolinit/package.json: | |
{ | |
"name": "npmcoolinit", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC" | |
} | |
Is this OK? (yes) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment