how to run package.json scripts code example
Example 1: npm run custom script
# In your package.json you defined a custom script "custom"
# You can run it using
npm run custom
Example 2: run the scripts in package json
npm run <script-name>
# In your package.json you defined a custom script "custom"
# You can run it using
npm run custom
npm run <script-name>