Browse Source
fix: 使用6.0模板发现的一些问题 (#10033)
* chore: 没有必要的文件
* fix: can prettier pkg
* chore: 有格式化后自动排序
pull/10036/head
DaoYuan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
2 additions and
4 deletions
-
.husky/.gitignore
-
.prettierignore
-
package.json
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
**/*.svg |
|
|
|
package.json |
|
|
|
.umi |
|
|
|
.umi-production |
|
|
|
/dist |
|
|
|
|
|
|
|
@ -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 ", |
|
|
|
|