👷 add lint script

This commit is contained in:
yanyongyu 2020-11-09 12:46:28 +08:00
parent 50056228b6
commit 17ad11212e

View File

@ -16,7 +16,9 @@
},
"scripts": {
"dev": "vuepress dev docs",
"build": "vuepress build docs"
"build": "vuepress build docs",
"lint": "npx prettier -c docs/**/* !docs/api/**/*",
"lint:fix": "npx prettier --write docs/**/* !docs/api/**/*"
},
"license": "MIT",
"devDependencies": {