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", "name": "n8n",
"private": true, "private": true,
"homepage": "https://n8n.io", "homepage": "https://n8n.io",
"scripts": { "scripts": {
"bootstrap": "lerna bootstrap --hoist --no-ci", "bootstrap": "lerna bootstrap --hoist --no-ci",
"build": "lerna exec npm run build", "build": "lerna exec npm run build",
"dev": "lerna exec npm run dev --parallel", "dev": "lerna exec npm run dev --parallel",
"start": "cd packages/cli/bin && n8n", "start": "run-script-os",
"test": "lerna run test", "start:default": "cd packages/cli/bin && ./n8n",
"watch": "lerna run --parallel watch" "start:windows": "cd packages/cli/bin && n8n",
}, "test": "lerna run test",
"devDependencies": { "watch": "lerna run --parallel watch"
"lerna": "^3.13.1" },
}, "devDependencies": {
"postcss": {} "lerna": "^3.13.1",
"run-script-os": "^1.0.7"
},
"postcss": {}
} }