mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-09 20:58:59 +00:00
Reduce number of dotfiles
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"presets": [
|
|
||||||
"react-native"
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
[ "transform-react-remove-prop-types", { "mode": "wrap" } ]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# EditorConfig: http://editorconfig.org
|
|
||||||
|
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = true
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
[ignore]
|
[ignore]
|
||||||
.*/__tests__/.*
|
.*/__tests__/.*
|
||||||
.*/examples/.*
|
.*/benchmarks/.*
|
||||||
.*/performance/.*
|
.*/docs/.*
|
||||||
.*/node_modules/animated/*
|
.*/node_modules/animated/*
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
|
|||||||
@@ -5,4 +5,5 @@ before_script:
|
|||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
script:
|
script:
|
||||||
|
- npm run lint
|
||||||
- npm test
|
- npm test
|
||||||
|
|||||||
@@ -25,6 +25,14 @@
|
|||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "npm run test -- --watch"
|
"test:watch": "npm run test -- --watch"
|
||||||
},
|
},
|
||||||
|
"babel": {
|
||||||
|
"presets": [
|
||||||
|
"react-native"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
[ "transform-react-remove-prop-types", { "mode": "wrap" } ]
|
||||||
|
]
|
||||||
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"testEnvironment": "jsdom",
|
"testEnvironment": "jsdom",
|
||||||
"timers": "fake",
|
"timers": "fake",
|
||||||
|
|||||||
Reference in New Issue
Block a user