diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.prettierignore b/.prettierignore index d17efb44..7999ccda 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,4 @@ **/*.svg -package.json .umi .umi-production /dist @@ -20,4 +19,4 @@ yarn-error.log .history CNAME /build -/public \ No newline at end of file +/public diff --git a/package.json b/package.json index 34c2e875..020b1834 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "private": true, "description": "An out-of-box UI solution for enterprise applications", "scripts": { - "postinstall": "max setup", "analyze": "cross-env ANALYZE=1 max build", "build": "max build", "deploy": "npm run build && npm run gh-pages", "dev": "npm run start:dev", "gh-pages": "gh-pages -d dist", "i18n-remove": "pro i18n-remove --locale=zh-CN --write", + "postinstall": "max setup", "lint": "npm run lint:js && npm run lint:prettier && npm run tsc", "lint-staged": "lint-staged", "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",