Make it easier to start n8n in development mode

This commit is contained in:
Jan Oberhauser 2019-08-14 12:13:43 +02:00
parent 7cd563183a
commit 84ba4dec06
8 changed files with 10 additions and 4 deletions

View file

@ -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"
},

View file

@ -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);

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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",

View file

@ -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",