I have these scripts in my `package.json` and then...
# sdf
m
I have these scripts in my
package.json
and then added them as run configurations in Webstorm
Copy code
"scripts": {
    "switch-sandbox-dev": "node -e \"require('fs').writeFileSync('project.json', '{\"\"accountSpecificValues\"\":\"\"ERROR\"\",\"\"defaultAuthId\"\":\"\"sandbox-dev\"\"}');\"",
    "switch-sandbox-uat": "node -e \"require('fs').writeFileSync('project.json', '{\"\"accountSpecificValues\"\":\"\"ERROR\"\",\"\"defaultAuthId\"\":\"\"sandbox-uat\"\"}');\"",
    "switch-sandbox-qa": "node -e \"require('fs').writeFileSync('project.json', '{\"\"accountSpecificValues\"\":\"\"ERROR\"\",\"\"defaultAuthId\"\":\"\"sandbox-qa\"\"}');\"",
    "switch-sandbox-staging": "node -e \"require('fs').writeFileSync('project.json', '{\"\"accountSpecificValues\"\":\"\"ERROR\"\",\"\"defaultAuthId\"\":\"\"sandbox-staging\"\"}');\"",
    "switch-production": "node -e \"require('fs').writeFileSync('project.json', '{\"\"accountSpecificValues\"\":\"\"ERROR\"\",\"\"defaultAuthId\"\":\"\"production\"\"}');\""
  },
💯 1