'npm run dev' / 'npm run start' OS fix for CLI

This commit is contained in:
Yoni Feigelson 2019-10-14 22:07:17 +03:00
parent aa1caa4188
commit 76607d70a6

View file

@ -1,114 +1,117 @@
{ {
"name": "n8n", "name": "n8n",
"version": "0.24.0", "version": "0.24.0",
"description": "n8n Workflow Automation Tool", "description": "n8n Workflow Automation Tool",
"license": "SEE LICENSE IN LICENSE.md", "license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://n8n.io", "homepage": "https://n8n.io",
"author": { "author": {
"name": "Jan Oberhauser", "name": "Jan Oberhauser",
"email": "jan@n8n.io" "email": "jan@n8n.io"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/n8n-io/n8n.git" "url": "git+https://github.com/n8n-io/n8n.git"
}, },
"main": "dist/index", "main": "dist/index",
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
"oclif": { "oclif": {
"commands": "./dist/commands", "commands": "./dist/commands",
"bin": "n8n" "bin": "n8n"
}, },
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev": "nodemon", "dev": "nodemon",
"postpack": "rm -f oclif.manifest.json", "postpack": "rm -f oclif.manifest.json",
"prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest",
"start": "bin/n8n start", "start": "run-script-os",
"test": "jest", "start:default": "cd bin && ./n8n",
"tslint": "tslint -p tsconfig.json -c tslint.json", "start:windows": "cd bin && n8n",
"watch": "tsc --watch" "test": "jest",
}, "tslint": "tslint -p tsconfig.json -c tslint.json",
"bin": { "watch": "tsc --watch"
"n8n": "./bin/n8n" },
}, "bin": {
"keywords": [ "n8n": "./bin/n8n"
"automate", },
"automation", "keywords": [
"IaaS", "automate",
"iPaaS", "automation",
"n8n", "IaaS",
"workflow" "iPaaS",
], "n8n",
"engines": { "workflow"
"node": ">=8.0.0" ],
}, "engines": {
"files": [ "node": ">=8.0.0"
"bin", },
"dist", "files": [
"oclif.manifest.json" "bin",
], "dist",
"devDependencies": { "oclif.manifest.json"
"@oclif/dev-cli": "^1.22.2", ],
"@types/basic-auth": "^1.1.2", "devDependencies": {
"@types/compression": "0.0.36", "@oclif/dev-cli": "^1.22.2",
"@types/connect-history-api-fallback": "^1.3.1", "@types/basic-auth": "^1.1.2",
"@types/convict": "^4.2.1", "@types/compression": "0.0.36",
"@types/dotenv": "^6.1.1", "@types/connect-history-api-fallback": "^1.3.1",
"@types/express": "^4.16.1", "@types/convict": "^4.2.1",
"@types/jest": "^24.0.18", "@types/dotenv": "^6.1.1",
"@types/localtunnel": "^1.9.0", "@types/express": "^4.16.1",
"@types/node": "^10.10.1", "@types/jest": "^24.0.18",
"@types/open": "^6.1.0", "@types/localtunnel": "^1.9.0",
"@types/parseurl": "^1.3.1", "@types/node": "^10.10.1",
"@types/request-promise-native": "^1.0.15", "@types/open": "^6.1.0",
"jest": "^24.9.0", "@types/parseurl": "^1.3.1",
"nodemon": "^1.19.1", "@types/request-promise-native": "^1.0.15",
"ts-jest": "^24.0.2", "jest": "^24.9.0",
"tslint": "^5.17.0", "nodemon": "^1.19.1",
"typescript": "~3.5.2" "run-script-os": "^1.0.7",
}, "ts-jest": "^24.0.2",
"dependencies": { "tslint": "^5.17.0",
"@oclif/command": "^1.5.18", "typescript": "~3.5.2"
"@oclif/errors": "^1.2.2", },
"basic-auth": "^2.0.1", "dependencies": {
"body-parser": "^1.18.3", "@oclif/command": "^1.5.18",
"compression": "^1.7.4", "@oclif/errors": "^1.2.2",
"connect-history-api-fallback": "^1.6.0", "basic-auth": "^2.0.1",
"convict": "^5.0.0", "body-parser": "^1.18.3",
"dotenv": "^8.0.0", "compression": "^1.7.4",
"express": "^4.16.4", "connect-history-api-fallback": "^1.6.0",
"flatted": "^2.0.0", "convict": "^5.0.0",
"glob-promise": "^3.4.0", "dotenv": "^8.0.0",
"google-timezones-json": "^1.0.2", "express": "^4.16.4",
"inquirer": "^6.5.1", "flatted": "^2.0.0",
"localtunnel": "^1.9.1", "glob-promise": "^3.4.0",
"mongodb": "^3.2.3", "google-timezones-json": "^1.0.2",
"n8n-core": "~0.11.0", "inquirer": "^6.5.1",
"n8n-editor-ui": "~0.20.0", "localtunnel": "^1.9.1",
"n8n-nodes-base": "~0.19.0", "mongodb": "^3.2.3",
"n8n-workflow": "~0.12.0", "n8n-core": "~0.11.0",
"open": "^6.1.0", "n8n-editor-ui": "~0.20.0",
"pg": "^7.11.0", "n8n-nodes-base": "~0.19.0",
"request-promise-native": "^1.0.7", "n8n-workflow": "~0.12.0",
"sqlite3": "^4.0.6", "open": "^6.1.0",
"sse-channel": "^3.1.1", "pg": "^7.11.0",
"typeorm": "^0.2.16" "request-promise-native": "^1.0.7",
}, "sqlite3": "^4.0.6",
"jest": { "sse-channel": "^3.1.1",
"transform": { "typeorm": "^0.2.16"
"^.+\\.tsx?$": "ts-jest" },
}, "jest": {
"testURL": "http://localhost/", "transform": {
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "^.+\\.tsx?$": "ts-jest"
"testPathIgnorePatterns": [ },
"/dist/", "testURL": "http://localhost/",
"/node_modules/" "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
], "testPathIgnorePatterns": [
"moduleFileExtensions": [ "/dist/",
"ts", "/node_modules/"
"tsx", ],
"js", "moduleFileExtensions": [
"json" "ts",
] "tsx",
} "js",
"json"
]
}
} }