Skip to content

[Code health] Simplify npm scripts #2304

@gino-m

Description

@gino-m

Align with expectations of developers familiar with npm. For ex:

{
  "scripts": {
    "start": "run-p start:ng emulators",
    "start:ng": "ng serve",
    "emulators": "firebase emulators:start --import=./seed --export-on-exit",
 
    "build:dev": "ng build --configuration development",
    "deploy:dev": "npm run build:dev && firebase deploy -P dev-project-id",
    
    "build:prod": "ng build --configuration production",
    "deploy:prod": "npm run build:prod && firebase deploy -P prod-project-id"
  }
}

For local dev - npm i then npm start.

Metadata

Metadata

Labels

type: code healthImprovements to readability or robustness of codebase

Type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions