chore: update lint scripts
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"dev": "pnpm run typedoc:md && vitepress dev src",
|
"dev": "pnpm run typedoc:md && vitepress dev src",
|
||||||
"docs": "pnpm run typedoc:md && vitepress build src",
|
"docs": "pnpm run typedoc:md && vitepress build src",
|
||||||
"serve": "vitepress serve src",
|
"serve": "vitepress serve src",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"typedoc:md": "typedoc --options ./typedoc.md.json",
|
"typedoc:md": "typedoc --options ./typedoc.md.json",
|
||||||
"typedocs": "typedoc --options ./typedoc.json"
|
"typedocs": "typedoc --options ./typedoc.json"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix ."
|
"lint": "eslint --ext .js,.ts,.vue ./"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vueflow": "workspace:*",
|
"vueflow": "workspace:*",
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p ./tsconfig.build.json && shx rm -rf tmp && pnpm lint:dist && pnpm run patch",
|
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && tsc -p ./tsconfig.build.json && shx rm -rf tmp && pnpm lint:dist && pnpm run patch",
|
||||||
"patch": "node patch/slots.js",
|
"patch": "node patch/slots.js",
|
||||||
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"prepublishOnly": "shx cp ../../README.md .",
|
"prepublishOnly": "shx cp ../../README.md .",
|
||||||
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",
|
"postpublish": "shx rm README.md && git commit -a -m \"chore: bump version\"",
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
"types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
"types": "pnpm prepare && vue-tsc --declaration --emitDeclarationOnly && shx rm -rf tmp",
|
||||||
"postbuild": "shx rm -rf tmp",
|
"postbuild": "shx rm -rf tmp",
|
||||||
"test": "exit 0;",
|
"test": "exit 0;",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix ."
|
"lint": "eslint --ext .js,.ts,.vue ./"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@vue-flow/core": "^1.12.2"
|
"@vue-flow/core": "^1.12.2"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"types": "tsc && shx rm -rf tmp && pnpm lint:dist",
|
"types": "tsc && shx rm -rf tmp && pnpm lint:dist",
|
||||||
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix .",
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist",
|
||||||
"test": "exit 0"
|
"test": "exit 0"
|
||||||
},
|
},
|
||||||
|
|||||||
+2
-1
@@ -4,7 +4,8 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "cypress run --component",
|
"test": "cypress run --component",
|
||||||
"open": "cypress open"
|
"open": "cypress open",
|
||||||
|
"lint": "eslint --ext .js,.ts,.vue ./"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue-flow/background": "workspace:*",
|
"@vue-flow/background": "workspace:*",
|
||||||
|
|||||||
Reference in New Issue
Block a user