credo-controller icon indicating copy to clipboard operation
credo-controller copied to clipboard

chore: remove unwanted scripts

Open GHkrishna opened this issue 2 months ago • 2 comments

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"
  },
.
.
.

GHkrishna avatar Oct 08 '25 06:10 GHkrishna

@GHkrishna It would be good to list them here.

ajile-in avatar Oct 09 '25 11:10 ajile-in

Updated, was a bit confusing earlier

GHkrishna avatar Oct 10 '25 06:10 GHkrishna