i5ting
4 years ago
8 changed files with 37 additions and 66 deletions
@ -1,20 +0,0 @@ |
|||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. |
|
||||
|
|
||||
# dependencies |
|
||||
/node_modules |
|
||||
/npm-debug.log* |
|
||||
/yarn-error.log |
|
||||
/yarn.lock |
|
||||
/package-lock.json |
|
||||
|
|
||||
# production |
|
||||
/dist |
|
||||
|
|
||||
# misc |
|
||||
.DS_Store |
|
||||
|
|
||||
# umi |
|
||||
/src/.umi |
|
||||
/src/.umi-production |
|
||||
/src/.umi-test |
|
||||
/.env.local |
|
@ -1,8 +0,0 @@ |
|||||
**/*.md |
|
||||
**/*.svg |
|
||||
**/*.ejs |
|
||||
**/*.html |
|
||||
package.json |
|
||||
.umi |
|
||||
.umi-production |
|
||||
.umi-test |
|
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"singleQuote": true, |
|
||||
"trailingComma": "all", |
|
||||
"printWidth": 80, |
|
||||
"overrides": [ |
|
||||
{ |
|
||||
"files": ".prettierrc", |
|
||||
"options": { "parser": "json" } |
|
||||
} |
|
||||
] |
|
||||
} |
|
@ -1,24 +0,0 @@ |
|||||
{ |
|
||||
"private": true, |
|
||||
"name": "example", |
|
||||
"scripts": { |
|
||||
"start": "umi dev", |
|
||||
"build": "umi build", |
|
||||
"postinstall": "umi generate tmp", |
|
||||
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'", |
|
||||
"test": "umi-test", |
|
||||
"test:coverage": "umi-test --coverage" |
|
||||
}, |
|
||||
"gitHooks": { |
|
||||
"pre-commit": "lint-staged" |
|
||||
}, |
|
||||
"lint-staged": { |
|
||||
"*.{js,jsx,less,md,json}": [ |
|
||||
"prettier --write" |
|
||||
], |
|
||||
"*.ts?(x)": [ |
|
||||
"prettier --parser=typescript --write" |
|
||||
] |
|
||||
}, |
|
||||
"dependencies": {} |
|
||||
} |
|
Loading…
Reference in new issue