root@41a6a26ec512:~/test_dir# npm init -y
Wrote to /root/test_dir/package.json:
{
"name": "test_dir",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
root@41a6a26ec512:~/test_dir# npm i -D webpack
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN test_dir@1.0.0 No description
npm WARN test_dir@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ webpack@4.16.4
added 319 packages in 11.72s
root@41a6a26ec512:~/test_dir# tree -L 1
.
|-- node_modules
|-- package-lock.json
|-- package.json
`-- tree.txt
1 directory, 3 files
'Development > 개발 환경 구축' 카테고리의 다른 글
Yona H2 설치 (1) | 2018.08.20 |
---|---|
postfix gmail smtp setup (0) | 2018.08.12 |
무료 공인 인증 받기 (0) | 2018.08.12 |
1 PAGE PROPOSAL (0) | 2018.07.25 |
2018 프로그래밍 트렌드 따라잡기 (0) | 2018.07.25 |