package.json
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
package.json është „letërnjoftimi“ i një projekti JavaScript: emri, versioni, paketat që i duhen (dependencies) dhe komandat (scripts) si npm run dev ose npm run build. package-lock.json fiksojnë versionet e sakta.
EnglishEN
package.json is the “ID card” of a JavaScript project: its name, version, the packages it needs (dependencies) and commands (scripts) like npm run dev or npm run build. package-lock.json pins the exact versions.
Si ta mendosh
Si lista e përbërësve dhe hapave në krye të recetës: kushdo e di çfarë të blejë dhe si ta gatuajë.
Lexoje në anglisht
Like the ingredients and steps at the top of a recipe: anyone knows what to buy and how to cook it.
Shembull kodijson
{
"name": "fjalori",
"scripts": { "build": "node scripts/build.mjs" },
"dependencies": { "react": "^19.0.0" }
}