I have the following in my lerna project package.json:
{
"scripts": {
"build": "../../node_modules/.bin/tsc"
}
}
When running this on a Windows bash.exe, I get
'..' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-package@1.0.0 build: `../../node_modules/.bin/tsc`
I tried: "build": "\"../../node_modules/.bin/tsc\"" with no luck. I want this command to work on both Windows and Mac. How do I achieve this?