Skip to main content

NPM Script Builder

Select and customize npm scripts, then copy the configuration for your package.json.

Dev

Build

Test

Utility

Scripts Object

"scripts": {
  "start": "node index.js",
  "dev": "nodemon index.js",
  "build": "tsc",
  "test": "jest",
  "lint": "eslint . --ext .ts,.tsx,.js"
}

package.json Snippet

{
  "name": "my-project",
  "version": "1.0.0",
  "scripts": {
    "start": "node index.js",
    "dev": "nodemon index.js",
    "build": "tsc",
    "test": "jest",
    "lint": "eslint . --ext .ts,.tsx,.js"
  }
}