-
-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: use umi father build * set node verison * change now distDir
- Loading branch information
1 parent
c56483f
commit a7b16e6
Showing
37 changed files
with
610 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const base = require('@umijs/fabric/dist/eslint'); | ||
|
||
module.exports = { | ||
...base, | ||
rules: { | ||
...base.rules, | ||
'react/sort-comp': 0, | ||
'react/no-array-index-key': 0, | ||
'react/no-access-state-in-setstate': 0, | ||
'no-plusplus': 0, | ||
'no-param-reassign': 0, | ||
'react/require-default-props': 0, | ||
'react/require-default-props': 0, | ||
'no-underscore-dangle': 0, | ||
'react/no-find-dom-node': 0, | ||
'no-mixed-operators': 0, | ||
'prefer-destructuring': 0, | ||
'react/no-unused-prop-types': 0, | ||
'max-len': 0, | ||
'brace-style': 0, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default { | ||
cjs: "babel", | ||
esm: { type: "babel", importLibToEs: true }, | ||
preCommit: { | ||
eslint: true, | ||
prettier: true | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.storybook | ||
*.iml | ||
*.log | ||
*.log.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"printWidth": 100, | ||
"proseWrap": "never", | ||
"overrides": [ | ||
{ | ||
"files": ".prettierrc", | ||
"options": { | ||
"parser": "json" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ notifications: | |
- [email protected] | ||
|
||
node_js: | ||
- 6.0.0 | ||
- 10 | ||
|
||
before_install: | ||
- | | ||
|
@@ -30,11 +30,6 @@ env: | |
- TEST_TYPE=lint | ||
- TEST_TYPE=test | ||
- TEST_TYPE=coverage | ||
- TEST_TYPE=saucelabs | ||
global: | ||
- secure: S1VwbaPzLnSH/IUT/wlJulxAX5VHRIDmSt53h/ycHcZsszUpWcLCJRQAe0fTVB2dAx5MdBbSZ+o+tr3tRwVB5TRAYm0oTCsYAkOZaWOB28RuUQtdGt3wf9xxTG1UiPiaLLUW3waX9zAaf3yqKBcJGf1op0RD8dksxbCFw/7xVbU= | ||
- secure: EBEDg8k///IlEsnx0AE8X3mbFl0QE5+xGKbG4AxXlGZda12uTIPUSMKJzdZQ2hVbZXduTzf1cQl9rcu9nGoSnkL/DWnIax9cvHi+1orx5+YPlxPHNWAwWByTnHosBn2MJhfy1s5paJfHC9cUzmmEL6x4fYthWxjsPUo+irEZH6E= | ||
|
||
matrix: | ||
allow_failures: | ||
- env: "TEST_TYPE=saucelabs" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
a7b16e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: