I would like to create separate tasks for development and production environment, and I would like to turn on the sourceMap in the development environment for debugging purposes.
Normally, without grunt, I can use tsc to override this on the command line:
// in package.json
"scripts": {
"dev": "tsc --sourceMap && node path/to/index.js",
"build": "tsc"
}
How do I go about implementing the similar mechanism using grunt-ts?