appTsConfig.compilerOptions[option] = value; code example Example: appTsConfig.compilerOptions[option] = value; "start": "rm -rf tsconfig.json && react-scripts start"