Skip to content

chore: remove unwanted scripts #315

@GHkrishna

Description

@GHkrishna

What:

  • Currently in package.json we have a some scripts, few necessary and some stale ones.
  • We need to get rid of the stale ones and if required better utilize the freed up script keys

package.json

.
.
.
  "scripts": {
    "check-types": "tsc --noEmit -p tsconfig.build.json",
    "prettier": "prettier '**/*.+(js|json|ts|md|yml|yaml)'",
    "format": "yarn prettier --write",
    "check-format": "yarn prettier --list-different",
    "tsoa": "tsoa spec-and-routes",
    "dev": "tsoa spec-and-routes && tsnd --respawn samples/sampleWithApp.ts",
    "build": "yarn run clean && yarn run compile",
    "prestart:dev": "yarn run clean && yarn run compile",
    "start:dev": "yarn build && ./bin/afj-rest.js --config ./samples/cliConfig.json",
    "clean": "rimraf -rf ./build",
    "compile": "tsoa spec-and-routes && tsc -p tsconfig.build.json",
    "prepublishOnly": "yarn run build",
    "test": "jest",
    "postinstall": "patch-package",
    "lint": "eslint --config eslint.config.mjs .",
    "validate": "yarn lint && yarn check-types && yarn check-format"
  },
.
.
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis enhances the overall experience/code quality/flows, etcgood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions