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