Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsaintroch committed Oct 15, 2015
0 parents commit 2ea0607
Show file tree
Hide file tree
Showing 8 changed files with 343 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
@@ -0,0 +1,16 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
9 changes: 9 additions & 0 deletions .eslintrc
@@ -0,0 +1,9 @@
parser: babel-eslint

extends: standard

rules:
eqeqeq: 0
semi: [2, always]
space-before-function-paren: [2, never]
yoda: 0
102 changes: 102 additions & 0 deletions .gitignore
@@ -0,0 +1,102 @@
############################
# OS X
############################

.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*


############################
# Linux
############################

*~


############################
# Windows
############################

Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp


############################
# Packages
############################

*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid


############################
# Logs and databases
############################

.tmp
*.log
*.sql
*.sqlite


############################
# Misc.
############################

*#
.idea
nbproject


############################
# Node.js
############################

lib-cov
lcov.info
pids
logs
results
build
node_modules
.node_history


############################
# Tests
############################

testApp
coverage
103 changes: 103 additions & 0 deletions .npmignore
@@ -0,0 +1,103 @@
############################
# OS X
############################

.DS_Store
.AppleDouble
.LSOverride
Icon
.Spotlight-V100
.Trashes
._*


############################
# Linux
############################

*~


############################
# Windows
############################

Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp


############################
# Packages
############################

*.7z
*.csv
*.dat
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.com
*.class
*.dll
*.exe
*.o
*.seed
*.so
*.swo
*.swp
*.swn
*.swm
*.out
*.pid


############################
# Logs and databases
############################

.tmp
*.log
*.sql
*.sqlite


############################
# Misc.
############################

*#
.idea
nbproject


############################
# Node.js
############################

lib-cov
lcov.info
pids
logs
results
build
node_modules
.node_history


############################
# Tests
############################

test
testApp
coverage
8 changes: 8 additions & 0 deletions .travis.yml
@@ -0,0 +1,8 @@
language: node_js

node_js:
- "4"

sudo: false

script: "npm test"
9 changes: 9 additions & 0 deletions LICENSE.md
@@ -0,0 +1,9 @@
# MIT License

Copyright © 2015 Wistity team.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
@@ -0,0 +1,3 @@
# GraphQL adapter for Waterline

*Work in progress...*
93 changes: 93 additions & 0 deletions package.json
@@ -0,0 +1,93 @@
{
"name": "waterline-graphql",
"version": "0.0.1",
"description": "GraphQL adapter for the Waterline ORM.",
"keywords": [
"adapter",
"graphql",
"orm",
"waterline"
],
"directories": {
"lib": "./lib"
},
"main": "./lib",
"dependencies": {
"graphql": "^0.4.7",
"lodash": "^3.10.1",
"waterline": "^0.10.26"
},
"devDependencies": {
"babel": "^5.0.0",
"babel-eslint": "^4.1.3",
"eslint": "^1.6.0",
"eslint-config-standard": "^4.4.0",
"eslint-plugin-standard": "^1.3.1",
"mocha": "^2.3.3",
"xo": "^0.9.0"
},
"xo": {
"space": true,
"esnext": true,
"envs": [
"node",
"mocha"
],
"ignores": [
"node_modules/**",
"bower_components/**",
"coverage/**"
],
"rules": {
"babel/object-shorthand": 0,
"consistent-return": 0,
"consistent-this": 0,
"dot-notation": 0,
"global-require": 0,
"max-nested-callbacks": [
1,
6
],
"new-cap": 0,
"no-else-return": 0,
"no-extra-parens": 0,
"no-implicit-coercion": 0,
"no-invalid-this": 0,
"no-throw-literal": 0,
"no-unused-expressions": 0,
"padded-blocks": 0,
"prefer-arrow-callback": 0,
"prefer-reflect": 0,
"prefer-template": 0,
"strict": 0
}
},
"scripts": {
"test": "xo",
"prepublish": "npm prune"
},
"author": {
"email": "hack@wistity.co",
"name": "Wistity team",
"url": "http://wistity.co"
},
"maintainers": [
{
"name": "Wistity team",
"email": "hack@wistity.co",
"url": "http://wistity.co"
}
],
"repository": {
"type": "git",
"url": "git://github.com/wistityhq/waterline-graphql.git"
},
"bugs": {
"url": "https://github.com/wistityhq/waterline-graphql/issues"
},
"engines": {
"node": ">= 0.12.0",
"npm": ">= 2.0.0"
},
"license": "MIT"
}

0 comments on commit 2ea0607

Please sign in to comment.