Fix 'npm run start' for Windows, keeping Linux/Mac intact

This commit is contained in:
Yoni Feigelson 2019-10-12 11:30:06 +03:00
parent b1d1851842
commit aa1caa4188

View file

@ -1,17 +1,20 @@
{
"name": "n8n",
"private": true,
"homepage": "https://n8n.io",
"scripts": {
"bootstrap": "lerna bootstrap --hoist --no-ci",
"build": "lerna exec npm run build",
"dev": "lerna exec npm run dev --parallel",
"start": "cd packages/cli/bin && n8n",
"test": "lerna run test",
"watch": "lerna run --parallel watch"
},
"devDependencies": {
"lerna": "^3.13.1"
},
"postcss": {}
"name": "n8n",
"private": true,
"homepage": "https://n8n.io",
"scripts": {
"bootstrap": "lerna bootstrap --hoist --no-ci",
"build": "lerna exec npm run build",
"dev": "lerna exec npm run dev --parallel",
"start": "run-script-os",
"start:default": "cd packages/cli/bin && ./n8n",
"start:windows": "cd packages/cli/bin && n8n",
"test": "lerna run test",
"watch": "lerna run --parallel watch"
},
"devDependencies": {
"lerna": "^3.13.1",
"run-script-os": "^1.0.7"
},
"postcss": {}
}