credo-controller
credo-controller copied to clipboard
chore: remove unwanted scripts
What:
- Currently in
package.jsonwe 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 It would be good to list them here.
Updated, was a bit confusing earlier