What is npm? A Node Package Manager Tutorial for Beginners

PHOTO EMBED

Sun Apr 30 2023 20:11:44 GMT+0000 (Coordinated Universal Time)

Saved by @RLMA2 #json

Scripts sample in in package,json
{
  "scripts": {
    "build": "tsc",
    "format": "prettier --write **/*.ts",
    "format-check": "prettier --check **/*.ts",
    "lint": "eslint src/**/*.ts",
    "pack": "ncc build",
    "test": "jest",
    "all": "npm run build && npm run format && npm run lint && npm run pack && npm test"
  }
}
content_copyCOPY

https://www.freecodecamp.org/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/