Browse Source

fix: 使用6.0模板发现的一些问题 (#10033)

* chore: 没有必要的文件

* fix: can prettier pkg

* chore: 有格式化后自动排序
pull/10036/head
DaoYuan 4 years ago
committed by GitHub
parent
commit
c4009b64ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .husky/.gitignore
  2. 1
      .prettierignore
  3. 2
      package.json

1
.husky/.gitignore

@ -1 +0,0 @@
_

1
.prettierignore

@ -1,5 +1,4 @@
**/*.svg
package.json
.umi
.umi-production
/dist

2
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 ",

Loading…
Cancel
Save