Skip to content

Commit 7dc2a28

Browse files
committed
Update to latest babel and eslint (tests failed on install, updating to latest resolved the issue)
1 parent eb7d6b1 commit 7dc2a28

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.babelrc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"stage": 0,
3-
"loose": "all",
4-
"optional": [
5-
"runtime"
6-
]
2+
"presets": ["es2015", "stage-0"]
73
}

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "babel src --out-dir lib",
88
"clean": "rimraf lib coverage",
99
"cover": "babel-node ./node_modules/.bin/babel-istanbul cover test/index.js | tap-spec",
10-
"lint": "./node_modules/eslint/bin/eslint.js src test",
10+
"lint": "eslint src test",
1111
"prepublish": "npm run lint && npm test && npm run clean && npm run build",
1212
"test": "babel-node test/index.js | tap-spec"
1313
},
@@ -26,17 +26,19 @@
2626
},
2727
"license": "MIT",
2828
"dependencies": {
29-
"babel-runtime": "^5.8.25",
29+
"babel-runtime": "^6.5.0",
3030
"isomorphic-fetch": "^2.1.1",
3131
"lodash.isplainobject": "^3.2.0"
3232
},
3333
"devDependencies": {
34-
"babel": "^5.8.23",
35-
"babel-eslint": "^4.1.3",
36-
"babel-istanbul": "^0.3.20",
34+
"babel-cli": "^6.5.1",
35+
"babel-eslint": "^4.1.8",
36+
"babel-istanbul": "^0.6.0",
37+
"babel-preset-es2015": "^6.5.0",
38+
"babel-preset-stage-0": "^6.5.0",
3739
"coveralls": "^2.11.4",
38-
"eslint": "^1.6.0",
39-
"eslint-plugin-babel": "^2.1.1",
40+
"eslint": "^2.0.0",
41+
"eslint-plugin-babel": "^3.1.0",
4042
"nock": "^2.15.0",
4143
"normalizr": "^1.1.0",
4244
"rimraf": "^2.4.3",

0 commit comments

Comments
 (0)