graphbrainz/package.json
2017-03-18 14:54:22 -07:00

125 lines
3.7 KiB
JSON

{
"name": "graphbrainz",
"version": "5.0.3",
"description": "An Express server and middleware for querying the MusicBrainz API using GraphQL.",
"main": "lib/index.js",
"bin": "lib/index.js",
"files": [
"lib",
"scripts",
"Procfile",
"schema.json",
"yarn.lock"
],
"engines": {
"node": "^4.3.0, ^6.2.0",
"npm": "^3.8.0, ^4.0.0"
},
"scripts": {
"build": "npm run build:lib && npm run update-schema && npm run build:docs",
"build:docs": "npm run build:docs:readme && npm run build:docs:schema && npm run build:docs:types",
"build:docs:readme": "doctoc --title \"## Contents\" README.md",
"build:docs:schema": "printf '# GraphQL Schema\\n\\n%s\n' \"$(npm run -s print-schema:md)\" > docs/schema.md",
"build:docs:types": "graphql-markdown --prologue 'You may also be interested in reading the [schema in GraphQL syntax](schema.md).' ./schema.json > docs/types.md",
"build:lib": "babel --out-dir lib src",
"clean": "npm run clean:lib",
"clean:lib": "rm -rf lib",
"deploy": "./scripts/deploy.sh",
"lint": "standard --verbose | snazzy",
"lint:fix": "standard --verbose --fix",
"prepublish": "npm run clean:lib && npm run build:lib",
"preversion": "npm run update-schema && npm run build:docs && git add schema.json docs",
"print-schema": "babel-node scripts/print-schema.js",
"print-schema:json": "npm run print-schema -- --json",
"print-schema:md": "printf '```graphql\\n%s\\n```' \"$(npm run -s print-schema)\"",
"start": "node lib/index.js",
"start:dev": "nodemon --exec babel-node src/index.js",
"test": "npm run lint && npm run test:coverage",
"test:coverage": "cross-env NODE_ENV=test nyc npm run test:only",
"test:only": "cross-env VCR_MODE=playback ava",
"test:record": "cross-env VCR_MODE=record ava",
"test:record-new": "cross-env VCR_MODE=cache ava --serial",
"test:watch": "npm run test:only -- --watch",
"update-schema": "npm run -s print-schema:json > schema.json"
},
"keywords": [
"musicbrainz",
"graphql",
"api",
"express",
"middleware",
"relay"
],
"homepage": "https://github.com/exogen/graphbrainz",
"author": {
"name": "Brian Beck",
"email": "exogen@gmail.com",
"url": "http://brianbeck.com/"
},
"repository": {
"type": "git",
"url": "https://github.com/exogen/graphbrainz.git"
},
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.18.0",
"compression": "^1.6.2",
"dashify": "^0.2.2",
"dataloader": "^1.2.0",
"debug": "^2.4.3",
"dotenv": "^2.0.0",
"es6-error": "^4.0.0",
"express": "^4.14.0",
"express-graphql": "^0.6.1",
"graphql": "^0.8.2",
"graphql-relay": "^0.4.4",
"lru-cache": "^4.0.1",
"pascalcase": "^0.1.1",
"qs": "^6.3.0",
"request": "^2.79.0",
"retry": "^0.10.1"
},
"devDependencies": {
"ava": "^0.17.0",
"babel-cli": "^6.18.0",
"babel-eslint": "^7.1.1",
"babel-plugin-istanbul": "^3.0.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-2": "^6.18.0",
"babel-register": "^6.18.0",
"coveralls": "^2.11.15",
"cross-env": "^3.1.3",
"doctoc": "^1.2.0",
"graphql-markdown": "^1.0.0",
"marked": "^0.3.6",
"nodemon": "^1.11.0",
"nyc": "^10.0.0",
"rimraf": "^2.5.4",
"sepia": "^2.0.2",
"sinon": "^1.17.6",
"snazzy": "^5.0.0",
"standard": "^8.6.0"
},
"standard": {
"parser": "babel-eslint"
},
"ava": {
"require": [
"babel-register"
]
},
"nyc": {
"include": [
"src/**"
],
"reporter": [
"lcov",
"text"
],
"all": true,
"cache": true,
"sourceMap": false,
"instrument": false
}
}