From 9163b974db26841a52f342d5c5dc1c083413af31 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Thu, 25 May 2017 22:33:40 -0700 Subject: [PATCH] Reduce number of dotfiles --- .babelrc | 8 -------- .editorconfig | 9 --------- .flowconfig | 4 ++-- .travis.yml | 1 + package.json | 8 ++++++++ 5 files changed, 11 insertions(+), 19 deletions(-) delete mode 100644 .babelrc delete mode 100644 .editorconfig diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 2e2e0fb3..00000000 --- a/.babelrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "presets": [ - "react-native" - ], - "plugins": [ - [ "transform-react-remove-prop-types", { "mode": "wrap" } ] - ] -} diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 8edca574..00000000 --- a/.editorconfig +++ /dev/null @@ -1,9 +0,0 @@ -# EditorConfig: http://editorconfig.org - -root = true - -[*] -end_of_line = lf -insert_final_newline = true -indent_style = space -indent_size = 2 diff --git a/.flowconfig b/.flowconfig index e63dbf22..a6d537e9 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,7 +1,7 @@ [ignore] .*/__tests__/.* -.*/examples/.* -.*/performance/.* +.*/benchmarks/.* +.*/docs/.* .*/node_modules/animated/* [include] diff --git a/.travis.yml b/.travis.yml index 6fde6487..1cfe8da9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,5 @@ before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: + - npm run lint - npm test diff --git a/package.json b/package.json index 78ae2a22..d07d0fa4 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,14 @@ "test": "jest", "test:watch": "npm run test -- --watch" }, + "babel": { + "presets": [ + "react-native" + ], + "plugins": [ + [ "transform-react-remove-prop-types", { "mode": "wrap" } ] + ] + }, "jest": { "testEnvironment": "jsdom", "timers": "fake",