chore: lint ts def files after build

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 7aea432ff7
commit 9539d7f263
4 changed files with 13 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
module.exports = {
rules: {
'no-use-before-define': 0,
},
extends: ['../.eslintrc.js'],
}
+6 -7
View File
@@ -22,15 +22,14 @@
],
"sideEffects": false,
"scripts": {
"prepare": "ts-patch install -s",
"prebuild": "shx cp ../README.md .",
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && yarn theme",
"postbuild": "shx rm -rf tmp",
"prepublishOnly": "yarn build",
"postpublish": "shx rm README.md",
"postbuild": "shx rm -rf tmp && yarn lint",
"test": "yarn --cwd .. test",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
"theme": "postcss src/theme-default.css -o dist/theme-default.css"
"lint": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
"theme": "postcss src/theme-default.css -o dist/theme-default.css",
"prepare": "ts-patch install -s",
"prepublishOnly": "shx cp ../README.md . && yarn build",
"postpublish": "shx rm README.md"
},
"dependencies": {
"@braks/revue-draggable": "^0.4.2",