A replacement for the deprecated npm set-script command
npx set-package-script <script-name> [command]
npx set-package-script build "tsc -p tsconfig.json"
npx set-package-script prepare
If you don't provide a command and there's an existing script defined it will be removed