diff --git a/package.json b/package.json index a95f55be85069b1507176bc4c6dd742765a5792d..24fbe0f15776f9b869527a65d2381ae57db7ead1 100644 --- a/package.json +++ b/package.json @@ -42,17 +42,10 @@ "lint-staged": { "**/*.less": "stylelint --syntax less", "**/*.{js,jsx}": "npm run lint-staged:js", - "**/*.{js,ts,tsx,md,json,jsx,less}": [ - "npm run prettier", - "git add" - ], + "**/*.{js,ts,tsx,md,json,jsx,less}": [ "npm run prettier", "git add" ], "**/*.{ts,tsx}": "npm run lint-staged:ts" }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not ie <= 10" - ], + "browserslist": [ "> 1%", "last 2 versions", "not ie <= 10" ], "dependencies": { "@ant-design/pro-layout": "^4.2.0", "@antv/data-set": "^0.10.1", @@ -145,5 +138,19 @@ "src/**/*.less", "config/**/*.js*", "scripts/**/*.js" - ] -} \ No newline at end of file + ], + "create-umi": { + "ignore": [ + "CODE_OF_CONDUCT.md", + "Dockerfile", + "Dockerfile.*", + "lambda", + "LICENSE", + "netlify.toml", + "*.md", + "scripts", + "azure-pipelines.yml", + "docker" + ] + } +}