Skip to main content

📜 Available Scripts

📜 Available Scripts

  1. Start the API in production env, without nodemon.
npm start
  1. Start the API in development env, with nodemon.
npm run dev
  1. Run all tests.
npm test
  1. Lint all files and check if there are any issues, with ESLint.
npm run lint
  1. Fix all ESLint issues then format the files with Prettier.
npm run prettier
  1. Retrieve all information needed for the API via Wikipedia directly from its API.
npm run retrieveData
  1. Save all dinosaur information to your MongoDB database.
npm run postData
  1. Create test coverage shields badges for README using istanbul-badges-readme.
npm run make-badges