The absolute minimum of NPM scripts required for a React app to be build by TeamCity.
{
...
scripts: {
...
"build": "XXX: builds a deployable version in dev mode",
"lint": "XXX: lints the code",
"lint:ci": "XXX: lints the code and reports with TC reporter",
"test": "XXX: runs the unit tests",
"test:ci": "XXX: runs the unit tests and reports with TC reporter",
"integration-test": "XXX: runs the integration tests",
"integration-test:ci": "XXX: runs the integration tests and reports with TC reporter"
...
}
}