UNPKG

foobot-graphql

Version:

GraphQL server for Foobot device data.

101 lines (100 loc) 2.51 kB
{ "name": "foobot-graphql", "version": "2.1.0", "description": "GraphQL server for Foobot device data.", "main": "lib/index.js", "bin": { "foobot-graphql": "lib/index.js" }, "files": [ "lib" ], "scripts": { "build": "npm run build:lib && npm run build:docs", "build:lib": "BABEL_ENV=production babel -d lib src", "build:docs": "doctoc --title \"## Contents\" README.md", "clean": "rimraf lib", "foobot:datapoints": "babel-node src/client.js datapoints", "foobot:devices": "babel-node src/client.js devices", "foobot:login": "babel-node src/client.js login", "lint": "standard --verbose | snazzy", "prepublish": "npm run clean && npm run build", "print-schema": "babel-node src/schema.js", "start": "node lib/index.js", "start:dev": "nodemon --exec babel-node src/index.js", "test": "npm run lint && npm run test:only", "test:only": "nyc ava" }, "pre-commit": [ "build:docs", "lint" ], "keywords": [ "foobot", "foobot.io", "graphql", "api", "express", "middleware", "air quality", "iaq" ], "homepage": "https://github.com/exogen/foobot-graphql", "author": { "name": "Brian Beck", "email": "exogen@gmail.com", "url": "http://brianbeck.com/" }, "repository": { "type": "git", "url": "https://github.com/exogen/foobot-graphql.git" }, "license": "MIT", "devDependencies": { "ava": "^0.17.0", "babel-cli": "^6.14.0", "babel-eslint": "^7.0.0", "babel-plugin-transform-runtime": "^6.15.0", "babel-preset-es2015": "^6.14.0", "babel-preset-stage-2": "^6.13.0", "babel-register": "^6.16.3", "doctoc": "^1.2.0", "nodemon": "^1.10.2", "nyc": "^10.0.0", "pre-commit": "^1.1.3", "rimraf": "^2.5.4", "snazzy": "^5.0.0", "standard": "^8.2.0" }, "dependencies": { "babel-runtime": "^6.11.6", "chalk": "^1.1.3", "compression": "^1.6.2", "dataloader": "^1.2.0", "date-fns": "^1.6.0", "debug": "^2.2.0", "decimal.js": "^7.1.0", "dotenv": "^2.0.0", "express": "^4.14.0", "express-graphql": "^0.6.1", "graphql": "^0.8.2", "graphql-date": "^1.0.2", "humanize-duration": "^3.9.1", "read": "^1.0.7", "request": "^2.75.0", "supports-color": "^3.1.2", "uuid": "^3.0.0" }, "config": { "port": 3000 }, "standard": { "parser": "babel-eslint" }, "ava": { "babel": "inherit", "require": [ "babel-register" ] } }