Practice English vocabulary for npm/yarn package scripts, pre/post hooks, and script conventions used in professional development teams.
0 / 5 completed
1 / 5
What does a developer mean by 'npm run build'?
'npm run build' executes whatever command is defined under the 'build' key in the scripts section of package.json — typically compiling or bundling the project.
2 / 5
A colleague says 'the script runs the linter before tests'. What does this imply?
This describes a script ordering where linting is executed first (often via a 'pretest' hook or explicit chaining) before the test suite runs.
3 / 5
What are 'pre/post hooks in package.json scripts'?
npm automatically runs 'pre' before and 'post' after any script named ''. For example, 'pretest' runs before 'test'.
4 / 5
What does 'custom script aliases vocabulary' refer to in a team context?
Teams define custom script names like 'dev', 'lint:fix', or 'db:seed' in package.json so developers use consistent, short commands instead of memorizing long CLI strings.
5 / 5
A team says 'we standardized all projects on the same script names'. What is the benefit?
Standardizing script names (e.g., always 'npm run dev' to start, 'npm run test' to test) means developers can onboard to any project and run familiar commands immediately.