본문 바로가기

nodeJS

nodeJS 초기 세팅

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

'nodeJS' 카테고리의 다른 글

webpack 설치 후 Error: Cannot find module 'webpack'  (0) 2020.07.26
Webpack 설치  (0) 2020.07.26