npm scripts
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
Te package.json, seksioni "scripts" ruan komanda me emra: "dev": "vite", "test": "vitest". I ekzekuton me npm run dev — që i gjithë ekipi të përdorë të njëjtat komanda.
EnglishEN
In package.json, the "scripts" section stores named commands: "dev": "vite", "test": "vitest". You run them with npm run dev — so the whole team uses the same commands.
Si ta mendosh
Si butonat e shpejtë në telekomandë.
Lexoje në anglisht
Like the shortcut buttons on a remote.
Shembull kodijson
"scripts": {
"dev": "vite",
"build": "vite build",
"test": "vitest"
}