diff --git a/package.json b/package.json index 7ff51f0b06..efb658e2eb 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "scripts": { "bootstrap": "lerna bootstrap --hoist --no-ci", "build": "lerna exec npm run build", + "dev": "lerna exec npm run dev --parallel", "start": "cd packages/cli && node dist/index.js start", "watch": "lerna run --parallel watch" }, diff --git a/packages/cli/index.ts b/packages/cli/index.ts index 1fb98bd9df..6d06a230d1 100644 --- a/packages/cli/index.ts +++ b/packages/cli/index.ts @@ -41,8 +41,8 @@ if (!supportedCommands.includes(command)) { const vorpal = new Vorpal(); vorpal - .use(require('./commands/execute.js')) - .use(require('./commands/start.js')) + .use(require('./commands/execute')) + .use(require('./commands/start')) .delimiter('') .show() .parse(process.argv); diff --git a/packages/cli/package.json b/packages/cli/package.json index 102cf8f969..c92d7ebb14 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -15,8 +15,8 @@ "types": "dist/src/index.d.ts", "scripts": { "build": "tsc", + "dev": "nodemon", "start": "node dist/index.js start", - "start:dev": "nodemon", "test": "jest", "tslint": "tslint -p tsconfig.json -c tslint.json", "watch": "tsc --watch" diff --git a/packages/core/package.json b/packages/core/package.json index 8810e8310b..13a431aee6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -15,6 +15,7 @@ "types": "dist/src/index.d.ts", "scripts": { "build": "tsc", + "dev": "npm run watch", "tslint": "tslint -p tsconfig.json -c tslint.json", "watch": "tsc --watch", "test": "jest" diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index 00be5f0203..72da793cb8 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -12,9 +12,10 @@ "url": "git+https://github.com/n8n-io/n8n.git" }, "scripts": { - "serve": "VUE_APP_URL_BASE_API=http://localhost:5678/ vue-cli-service serve", "build": "vue-cli-service build", + "dev": "npm run serve", "lint": "vue-cli-service lint", + "serve": "VUE_APP_URL_BASE_API=http://localhost:5678/ vue-cli-service serve", "tslint": "tslint -p tsconfig.json -c tslint.json", "test:e2e": "vue-cli-service test:e2e", "test:unit": "vue-cli-service test:unit" diff --git a/packages/node-dev/package.json b/packages/node-dev/package.json index 16b2dba2c4..bd31087268 100644 --- a/packages/node-dev/package.json +++ b/packages/node-dev/package.json @@ -14,6 +14,7 @@ "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { + "dev": "npm run watch", "build": "tsc", "tslint": "tslint -p tsconfig.json -c tslint.json", "watch": "tsc --watch" diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index a5a6797f2a..a37557cd16 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -14,6 +14,7 @@ "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { + "dev": "npm run watch", "build": "tsc && gulp", "tslint": "tslint -p tsconfig.json -c tslint.json", "watch": "tsc --watch", diff --git a/packages/workflow/package.json b/packages/workflow/package.json index a91e868c57..eb12bb6cb8 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -14,6 +14,7 @@ "main": "dist/src/index", "types": "dist/src/index.d.ts", "scripts": { + "dev": "npm run watch", "build": "tsc", "tslint": "tslint -p tsconfig.json -c tslint.json", "watch": "tsc --watch",