add ignore (#4245)
Showing
... | @@ -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": { | ||
\ No newline at end of file | "ignore": [ | ||
"CODE_OF_CONDUCT.md", | |||
"Dockerfile", | |||
"Dockerfile.*", | |||
"lambda", | |||
"LICENSE", | |||
"netlify.toml", | |||
"*.md", | |||
"scripts", | |||
"azure-pipelines.yml", | |||
"docker" | |||
] | |||
} | |||
} |
Please register or sign in to comment