You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2017/10/02 15:12:59 UTC
[couchdb-fauxton] branch master updated: Basic upgrades in
preparation for React 16 (#988)
This is an automated email from the ASF dual-hosted git repository.
garren pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git
The following commit(s) were added to refs/heads/master by this push:
new 838f534 Basic upgrades in preparation for React 16 (#988)
838f534 is described below
commit 838f5342db2e621f6ee138efeae0e2c531623245
Author: garren smith <ga...@gmail.com>
AuthorDate: Mon Oct 2 17:12:56 2017 +0200
Basic upgrades in preparation for React 16 (#988)
* Basic upgrades in preparation for React 16
* add prop-types library
---
.babelrc | 2 +-
.eslintrc | 2 +-
package.json | 5 ++++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.babelrc b/.babelrc
index a4555d2..4699f2b 100644
--- a/.babelrc
+++ b/.babelrc
@@ -3,5 +3,5 @@
"react",
"es2015"
],
- "plugins": ["transform-object-assign", "transform-object-rest-spread"]
+ "plugins": ["transform-object-assign", "transform-object-rest-spread", "transform-class-properties"]
}
diff --git a/.eslintrc b/.eslintrc
index f71d8da..a83517b 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,12 +1,12 @@
{
"root": true,
+ "parser": "babel-eslint",
"plugins": [
"react"
],
"rules-todo": {
-
"space-unary-ops": 2,
"camelcase": 2
},
diff --git a/package.json b/package.json
index a11e393..2cccf89 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,9 @@
"babel": "^6.3.26",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
+ "babel-eslint": "^8.0.1",
"babel-loader": "^6.2.9",
+ "babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
@@ -87,8 +89,9 @@
"optimist": "^0.6.1",
"pouchdb-adapter-http": "^6.1.2",
"pouchdb-core": "^6.1.2",
+ "prop-types": "^15.6.0",
"react": "~15.6.2",
- "react-bootstrap": "^0.30.7",
+ "react-bootstrap": "^0.31.3",
"react-dom": "~15.4.1",
"react-motion": "^0.5.0",
"react-redux": "^5.0.0",
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].