hamitmizrak / Typescript-ogreniyorum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript

for Angular Typescript GitHub

Git Terminal Codes

git init 
git add .
git commit -m "init git"
git add remote origin44 URL
git branch -M main
git push -u origin44  main
ssh-keygen -t rsa -b 4096 -C "hamitmizrak@gmail.com"
cat ~/.ssh/id_rsa.pub ==> KOPYALAA GİTHUB SSH YAPIŞTIR.

Npm Codes

npm install
npm i 

npm list 
npm list -g
npm list -g --depth=0
npm root
npm root -g

npm search express

npm install express --save 
npm install -g express 
npm install mocha --save-dev 
npm install tailwindcss -D

npm uninstall express

npm update 
npm update express

Linux

pwd
whoami
ls -la
cd .
cd ..
mkdir dizin
cat >> deneme.tx

Web Pack


RUN

npm run typescript
npm run nodemon
npm run tsconfig  
tsc 
tsc -w

Package Json

node -v  => v20.10.0 (Semantic Version)
npm -v   => 10.2.3   (Semantic Version)
npm init
npm init -y
npm install

Nodemon (Nodemon: Node js monitor => Javascript sürekli takip eder)

npm install -g nodemon --save 
npm install  nodemon --save-dev
nodemon index.js
nodemon -q index.js

Typescript

npm install -g typescript 
npm install typescript --save-dev

tsc 
tsc index.ts

tsc -w index.ts
nodemon index.js

tsconfig.json

npm init -y 
npm i -g nodemon  
npm i nodemon  --save-dev
npm i -g typescript
npm i  typescript --save-dev

tsc --init 
tsc --init --locale tr
tsc
tsc -w

  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "nodemon": "nodemon ./src/index.js",
    "typescript": "tsc -w ./src/index.ts",
    "typescript44": "tsc -w"
  },

About


Languages

Language:JavaScript 50.5%Language:TypeScript 46.4%Language:HTML 3.1%