C:\ljw-study\spring-api\workspace\SpringApi\eatgo-web>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 init` 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: (eatgo-web)
version: (1.0.0)
description: EatGo Web Project
entry point: (index.js) src/index.js
test command: jest
git repository:
keywords:
author: ljw
license: (ISC)
About to write to C:\ljw-study\spring-api\workspace\SpringApi\eatgo-web\package.json:
{
"name": "eatgo-web",
"version": "1.0.0",
"description": "EatGo Web Project",
"main": "src/index.js",
"scripts": {
"test": "jest"
},
"author": "ljw",
"license": "ISC"
}
Is this OK? (yes) yes