📦 Add deps and commands

This commit is contained in:
Iván Ovejero 2021-08-19 12:37:09 +02:00
parent a65b4a5f03
commit ac5ed07579
7 changed files with 29 additions and 1 deletions

View file

@ -7,6 +7,9 @@
"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",
"clean:dist": "lerna exec -- rimraf ./dist", "clean:dist": "lerna exec -- rimraf ./dist",
"format": "node_modules/prettier/bin-prettier.js packages --write",
"lint": "node_modules/eslint/bin/eslint.js packages",
"lintfix": "node_modules/eslint/bin/eslint.js packages --fix",
"optimize-svg": "find ./packages -name '*.svg' ! -name 'pipedrive.svg' -print0 | xargs -0 -P16 -L20 npx svgo", "optimize-svg": "find ./packages -name '*.svg' ! -name 'pipedrive.svg' -print0 | xargs -0 -P16 -L20 npx svgo",
"start": "run-script-os", "start": "run-script-os",
"start:default": "cd packages/cli/bin && ./n8n", "start:default": "cd packages/cli/bin && ./n8n",

View file

@ -21,6 +21,9 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon\"", "dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon\"",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/cli --write",
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/cli",
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/cli --fix",
"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": "run-script-os", "start": "run-script-os",

View file

@ -17,6 +17,9 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev": "npm run watch", "dev": "npm run watch",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/core --write",
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/core",
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/core --fix",
"tslint": "tslint -p tsconfig.json -c tslint.json", "tslint": "tslint -p tsconfig.json -c tslint.json",
"tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json",
"watch": "tsc --watch", "watch": "tsc --watch",

View file

@ -16,7 +16,9 @@
"scripts": { "scripts": {
"build": "cross-env VUE_APP_PUBLIC_PATH=\"/%BASE_PATH%/\" vue-cli-service build", "build": "cross-env VUE_APP_PUBLIC_PATH=\"/%BASE_PATH%/\" vue-cli-service build",
"dev": "npm run serve", "dev": "npm run serve",
"lint": "vue-cli-service lint", "format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/editor-ui --write",
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/editor-ui",
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/editor-ui --fix",
"serve": "cross-env VUE_APP_URL_BASE_API=http://localhost:5678/ vue-cli-service serve", "serve": "cross-env VUE_APP_URL_BASE_API=http://localhost:5678/ vue-cli-service serve",
"test": "npm run test:unit", "test": "npm run test:unit",
"tslint": "tslint -p tsconfig.json -c tslint.json", "tslint": "tslint -p tsconfig.json -c tslint.json",

View file

@ -21,6 +21,9 @@
"scripts": { "scripts": {
"dev": "npm run watch", "dev": "npm run watch",
"build": "tsc", "build": "tsc",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/node-dev --write",
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/node-dev",
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/node-dev --fix",
"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",
"tslint": "tslint -p tsconfig.json -c tslint.json", "tslint": "tslint -p tsconfig.json -c tslint.json",

View file

@ -17,6 +17,9 @@
"scripts": { "scripts": {
"dev": "npm run watch", "dev": "npm run watch",
"build": "tsc && gulp", "build": "tsc && gulp",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/nodes-base --write",
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base",
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base --fix",
"tslint": "tslint -p tsconfig.json -c tslint.json", "tslint": "tslint -p tsconfig.json -c tslint.json",
"tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json",
"nodelinter": "nodelinter", "nodelinter": "nodelinter",

View file

@ -17,6 +17,9 @@
"scripts": { "scripts": {
"dev": "npm run watch", "dev": "npm run watch",
"build": "tsc", "build": "tsc",
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/workflow --write",
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/workflow",
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/workflow --fix",
"tslint": "tslint -p tsconfig.json -c tslint.json", "tslint": "tslint -p tsconfig.json -c tslint.json",
"tslintfix": "tslint --fix -p tsconfig.json -c tslint.json", "tslintfix": "tslint --fix -p tsconfig.json -c tslint.json",
"watch": "tsc --watch", "watch": "tsc --watch",
@ -31,7 +34,15 @@
"@types/lodash.get": "^4.4.6", "@types/lodash.get": "^4.4.6",
"@types/node": "^14.14.40", "@types/node": "^14.14.40",
"@types/xml2js": "^0.4.3", "@types/xml2js": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^26.4.2", "jest": "^26.4.2",
"prettier": "^2.3.2",
"ts-jest": "^26.3.0", "ts-jest": "^26.3.0",
"tslint": "^6.1.2", "tslint": "^6.1.2",
"typescript": "~4.3.5" "typescript": "~4.3.5"