mongo-relay-connection
Version:
Helper for building relay connection from mongoose. Support dynamic collection, but only for single (unique or non-unique) field sorting.
83 lines (82 loc) • 2.35 kB
JSON
{
"name": "mongo-relay-connection",
"version": "0.2.8",
"description": "Helper for building relay connection from mongoose. Support dynamic collection, but only for single (unique or non-unique) field sorting.",
"main": "lib/index.js",
"scripts": {
"build": "babel src --out-dir lib",
"pretest": "yarn run lint && yarn run build",
"lint": "eslint src/**/*.js",
"test": "cross-env NODE_ENV=test nyc mocha -R spec",
"test-dev": "nodemon --exec 'cross-env NODE_ENV=test nyc mocha -R spec'",
"prepublish": "yarn run build",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"nyc": {
"require": [
"@babel/register"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/jackytck/mongo-relay-connection"
},
"keywords": [
"mongo",
"mongodb",
"mongooose",
"relay",
"graphql",
"graphql-relay"
],
"author": "Jacky Tang",
"license": "MIT",
"bugs": {
"url": "https://github.com/jackytck/mongo-relay-connection/issues"
},
"homepage": "https://github.com/jackytck/mongo-relay-connection#readme",
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.6",
"@babel/register": "^7.7.4",
"babel-eslint": "^10.0.3",
"babel-plugin-istanbul": "^5.2.0",
"chai": "^4.2.0",
"coveralls": "^3.0.9",
"cross-env": "^6.0.3",
"eslint": "^6.7.2",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"graphql": "^14.5.8",
"graphql-relay": "^0.6.0",
"mocha": "^6.2.2",
"mongodb-memory-server": "^6.0.2",
"mongoose": "^5.7.14",
"nodemon": "^2.0.1",
"nyc": "^14.1.1"
},
"dependencies": {
"base-64": "^0.1.0",
"lodash": "^4.17.15",
"utf8": "^3.0.0"
},
"peerDependencies": {
"graphql": "^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.3 || ^0.13.2 || ^14.1.1",
"graphql-relay": "^0.6.0"
},
"engines": {
"node": "6.x || 8.x || >= 10.x"
}
}