|
@@ -5,11 +5,11 @@
|
|
"main": "index.js",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
- "lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --ignore-path .gitignore",
|
|
|
|
- "format": "prettier --write src/",
|
|
|
|
- "lint:style": "stylelint \"./src/*.{css,scss,vue,html}\" --fix",
|
|
|
|
|
|
+ "lint": "eslint --fix",
|
|
|
|
+ "format": "prettier --write",
|
|
|
|
+ "lint:style": "stylelint --fix",
|
|
"pre-commit": "lint-staged",
|
|
"pre-commit": "lint-staged",
|
|
- "prepare": "husky"
|
|
|
|
|
|
+ "prepare": "husky install"
|
|
},
|
|
},
|
|
"keywords": [],
|
|
"keywords": [],
|
|
"author": "",
|
|
"author": "",
|
|
@@ -20,14 +20,14 @@
|
|
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
"@typescript-eslint/parser": "^7.10.0",
|
|
"@typescript-eslint/parser": "^7.10.0",
|
|
"commitlint": "^19.3.0",
|
|
"commitlint": "^19.3.0",
|
|
- "eslint": "^9.3.0",
|
|
|
|
|
|
+ "eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-vue": "^9.26.0",
|
|
"eslint-plugin-vue": "^9.26.0",
|
|
- "husky": "^9.0.11",
|
|
|
|
|
|
+ "husky": "^8.0.3",
|
|
"lint-staged": "^15.2.5",
|
|
"lint-staged": "^15.2.5",
|
|
"postcss": "^8.4.38",
|
|
"postcss": "^8.4.38",
|
|
"postcss-html": "^1.7.0",
|
|
"postcss-html": "^1.7.0",
|
|
@@ -39,19 +39,22 @@
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
"stylelint-order": "^6.0.4",
|
|
"stylelint-order": "^6.0.4",
|
|
"stylelint-scss": "^6.3.0",
|
|
"stylelint-scss": "^6.3.0",
|
|
- "typescript": "^5.4.5"
|
|
|
|
|
|
+ "typescript": "^5.4.5",
|
|
|
|
+ "typescript-eslint": "^7.11.0",
|
|
|
|
+ "vue-eslint-parser": "^9.4.2"
|
|
|
|
+ },
|
|
|
|
+ "dependencies": {
|
|
|
|
+ "uview-ui": "^2.0.37",
|
|
|
|
+ "vue": "^3.4.27"
|
|
},
|
|
},
|
|
"lint-staged": {
|
|
"lint-staged": {
|
|
- "*.{vue,js,ts,jsx,tsx}": [
|
|
|
|
|
|
+ "**/*.{vue,js,ts,jsx,tsx}": [
|
|
"pnpm format",
|
|
"pnpm format",
|
|
"pnpm lint"
|
|
"pnpm lint"
|
|
],
|
|
],
|
|
- "*.{css,scss,vue,html}": [
|
|
|
|
|
|
+ "**/*.{css,scss,vue,html}": [
|
|
"pnpm format",
|
|
"pnpm format",
|
|
"pnpm lint:style"
|
|
"pnpm lint:style"
|
|
]
|
|
]
|
|
- },
|
|
|
|
- "dependencies": {
|
|
|
|
- "uview-ui": "^2.0.37"
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|