Node.js
[NPM 패키지] 개발 및 배포
NPM 패키지 개발을 위한 프로젝트 셋팅 및 배포 패키지 디렉토리 생성 및 npm initcd npm-package-testnpm init -y위 까지 진행했다면사실 배포할 준비는 끝났다.{ "name": "test-npm", "version": "1.0.0", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "description": ""}위와 같은 package.json 파일이 만들어졌을텐데,이제 npm 에 로그인 한 뒤 json 파일에 있는 name 으로 npm 패키지가 올라가게 ..
2025. 2. 27. 12:17