1000sj
SJ CODE
1000sj
์ „์ฒด ๋ฐฉ๋ฌธ์ž
์˜ค๋Š˜
์–ด์ œ
  • ๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ
    • Algorithms
      • Crypto
    • Security
      • ๋„คํŠธ์›Œํฌ
      • ๋ณด์•ˆ
      • CTF
      • Exploit
    • System Programming
      • Operating System
      • Compiler
      • Device Driver
      • Emulator
      • Parrelel Processing
      • Assembly
    • Application Programming
      • Script
      • Android
    • Cloud Computing
      • Cloud Native
      • Public Cloud
      • Infrastructure
      • Database
      • DevOps
    • TroubleShooting
    • ETC
      • ๋ฌธํ™” ์ƒํ™œ
      • ์ปค๋ฎค๋‹ˆํ‹ฐ

์ธ๊ธฐ ๊ธ€

์ตœ๊ทผ ๋Œ“๊ธ€

์ตœ๊ทผ ๊ธ€

ํ‹ฐ์Šคํ† ๋ฆฌ

hELLO ยท Designed By ์ •์ƒ์šฐ.
1000sj

SJ CODE

Application Programming

[Typescript]

2021. 10. 15. 06:15

๐Ÿš€๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ธํŒ…

1. typescript ์„ค์น˜

npm install -g typescript

2. ๊ฒฝ๋Ÿ‰ web server ์„ธํŒ…

npm init
npm install --save-dev lite-server

3. package.json์— ์‹œ์ž‘ ์Šคํฌ๋ฆฝํŠธ ์ถ”๊ฐ€

  "scripts": {
    "start": "lite-server"
  },

4. run

npm start

5. tsconfig.json

tsc --init

tsconfig.json

{
  "compilerOptions": {
    "target": "es6",
    "module": "commonjs",				// ์›น ๋ธŒ๋ผ์šฐ์ € ํ™˜๊ฒฝ amd ์‚ฌ์šฉ
    "moduleResolution": "node",			// module์ด amd๋ฉด classic ์‚ฌ์šฉ
    "baseUrl": ".",
    "paths": {
      "*": ["node_modules/*"]
    },
    "sourceMap": true,
    "outDir": "dist",
    "downlevelIteration": true,
    "esModuleInterop": true,
    "noImplicitAny": false
  },
  "include": ["src/**/*"]
}

 

'Application Programming' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[Three.js] Intro  (0) 2021.11.27
[โš›๏ธReact.Js] ๋ฆฌ์•กํŠธ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ  (0) 2021.11.24
[Node.js] Modules  (0) 2021.09.20
[Node.js] Node.js ์„ค์น˜  (0) 2021.09.19
[Flutter] HTTP ํ†ต์‹   (0) 2021.09.07
    'Application Programming' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€
    • [Three.js] Intro
    • [โš›๏ธReact.Js] ๋ฆฌ์•กํŠธ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ
    • [Node.js] Modules
    • [Node.js] Node.js ์„ค์น˜
    1000sj
    1000sj

    ํ‹ฐ์Šคํ† ๋ฆฌํˆด๋ฐ”