Unverified Commit f4ee09fd authored by zombieJ's avatar zombieJ Committed by GitHub

add ignore (#4245)

parent 7287c10f
...@@ -42,17 +42,10 @@ ...@@ -42,17 +42,10 @@
"lint-staged": { "lint-staged": {
"**/*.less": "stylelint --syntax less", "**/*.less": "stylelint --syntax less",
"**/*.{js,jsx}": "npm run lint-staged:js", "**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx,md,json,jsx,less}": [ "**/*.{js,ts,tsx,md,json,jsx,less}": [ "npm run prettier", "git add" ],
"npm run prettier",
"git add"
],
"**/*.{ts,tsx}": "npm run lint-staged:ts" "**/*.{ts,tsx}": "npm run lint-staged:ts"
}, },
"browserslist": [ "browserslist": [ "> 1%", "last 2 versions", "not ie <= 10" ],
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": { "dependencies": {
"@ant-design/pro-layout": "^4.2.0", "@ant-design/pro-layout": "^4.2.0",
"@antv/data-set": "^0.10.1", "@antv/data-set": "^0.10.1",
...@@ -145,5 +138,19 @@ ...@@ -145,5 +138,19 @@
"src/**/*.less", "src/**/*.less",
"config/**/*.js*", "config/**/*.js*",
"scripts/**/*.js" "scripts/**/*.js"
],
"create-umi": {
"ignore": [
"CODE_OF_CONDUCT.md",
"Dockerfile",
"Dockerfile.*",
"lambda",
"LICENSE",
"netlify.toml",
"*.md",
"scripts",
"azure-pipelines.yml",
"docker"
] ]
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment