Skip to content

Commit

Permalink
chore(package): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
I committed Jul 26, 2016
1 parent 6062784 commit 043e3a9
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 58 deletions.
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"passPerPreset": true,
"presets": [{
"plugins": [
"transform-runtime",
"array-includes"
]
}, {
"passPerPreset": false,
"presets": [
"es2015",
"stage-0"
]
}]
}
47 changes: 20 additions & 27 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
{
"extends": "airbnb/base",
"ecmaFeatures": {
"blockBindings": true,
"forOf": true,
"jsx": true
},
"env": {
"node": true
},
"globals": {
"before": false,
"after": false,
"beforeEach": false,
"afterEach": false,
"describe": false,
"it": false
},
"parser": "babel-eslint",
"rules": {
"no-shadow": 0,
"no-param-reassign": 0,
"id-length": [2, {"exceptions": ["_", "i"]}],
"comma-dangle": [1, "never"],
"max-len": [2, 120, 2]
}
}
---
parser: babel-eslint
extends: airbnb-base
env:
es6: true
node: true
mocha: true
rules:
generator-star-spacing: 0
no-shadow: 0
no-param-reassign: 0
comma-dangle: 0
object-curly-spacing: 0
no-underscore-dangle: 0
import/no-extraneous-dependencies: 0
no-prototype-builtins: 0
max-len:
- 2
- 120
- 2
4 changes: 0 additions & 4 deletions .jscsrc

This file was deleted.

49 changes: 22 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Mongoose adapter for graffiti (Node.js GraphQL ORM)",
"main": "lib/index.js",
"scripts": {
"test": "NODE_ENV=test mocha --compilers js:babel-register --require babel-polyfill --require co-mocha 'src/**/*.spec.js'",
"test": "NODE_ENV=test mocha --compilers js:babel-register 'src/**/*.spec.js'",
"eslint": "eslint src",
"prepublish": "npm test && npm run build",
"build": "rm -rf lib/* && babel src --ignore *.spec.js --out-dir lib"
Expand All @@ -28,43 +28,38 @@
},
"homepage": "https://github.com/RisingStack/graffiti#readme",
"dependencies": {
"boom": "3.1.2"
"babel-runtime": "6.9.2",
"boom": "3.2.2"
},
"peerDependencies": {
"graphql": "^0.5.0"
"graphql": "^0.6.2"
},
"devDependencies": {
"babel": "6.5.2",
"babel-cli": "6.7.7",
"babel-eslint": "6.0.4",
"babel-polyfill": "6.7.4",
"babel-preset-es2015": "6.6.0",
"babel-cli": "6.11.4",
"babel-eslint": "6.1.2",
"babel-plugin-array-includes": "2.0.3",
"babel-plugin-transform-runtime": "6.9.0",
"babel-preset-es2015": "6.9.0",
"babel-preset-stage-0": "6.5.0",
"babel-register": "6.7.2",
"babel-register": "6.11.5",
"chai": "3.5.0",
"chai-subset": "1.2.2",
"co-mocha": "1.1.2",
"eslint": "2.9.0",
"eslint-config-airbnb": "8.0.0",
"eslint-plugin-import": "1.6.1",
"eslint-plugin-react": "5.0.1",
"express": "4.13.4",
"graphql": "0.5.0",
"hapi": "13.3.0",
"chai-subset": "1.3.0",
"eslint": "3.1.1",
"eslint-config-airbnb-base": "5.0.0",
"eslint-plugin-import": "1.12.0",
"eslint-plugin-react": "5.2.2",
"express": "4.14.0",
"graphql": "0.6.2",
"hapi": "13.5.0",
"koa": "2.0.0-alpha.2",
"mocha": "2.4.5",
"pre-commit": "1.1.2",
"sinon": "1.17.3",
"mocha": "2.5.3",
"pre-commit": "1.1.3",
"sinon": "1.17.5",
"sinon-chai": "2.8.0"
},
"pre-commit": [
"eslint",
"test"
],
"babel": {
"presets": [
"stage-0",
"es2015"
]
}
]
}

0 comments on commit 043e3a9

Please sign in to comment.