[TypeScript] TypeScript 환경 설정하기
1. Node.js와 npm 설치공식사이트에서 설치 후 터미널에서 node -v와 npm -v를 통해 버전을 확인합니다. 2. 프로젝트 초기화npm init -y 해당 명령어를 통해 프로젝트를 초기화 해줍니다.그러면 package.json 파일이 생성됩니다.{ "name": "ts0827", "version": "1.0.0", "main": "index.js", "scripts": { "build": "tsc", "start": "node dist/index.js", "dev": "tsc -w" }, "keywords": [], "author": "", "license": "ISC", "description": "", "dependencies": { "typescr..
2024. 8. 27.