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