Which property in the package.json file is used to define scripts that can be run with npm?
- scripts
- commands
- npm-scripts
- tasks
In the package.json file, the scripts property is used to define custom scripts that can be run using npm commands. This property allows you to define various scripts such as "start," "test," or custom scripts for tasks like building, linting, or deploying your application.
Loading...
Related Quiz
- You are designing a schema for a database that needs to support real-time analytics. What factors would you consider to optimize the read performance of the database?
- In Sequelize, which method is commonly used to find a single instance from the database?
- Why is it advantageous to use stubbing when dealing with external services or APIs in tests?
- In a distributed database system, achieving ______ can be challenging during CRUD operations due to network partitions.
- You are tasked with implementing an authentication system for your Express API. What considerations should you make regarding security, user experience, and scalability when choosing an authentication strategy?