2016-08-08 07:54:06 +00:00
|
|
|
{
|
|
|
|
|
"name": "graphbrainz",
|
2016-12-10 03:02:07 +00:00
|
|
|
"version": "4.0.0",
|
2016-11-26 10:50:21 +00:00
|
|
|
"description": "An Express server and middleware for querying the MusicBrainz API using GraphQL.",
|
2016-08-20 05:59:32 +00:00
|
|
|
"main": "lib/index.js",
|
2016-11-26 02:18:41 +00:00
|
|
|
"bin": "lib/index.js",
|
2016-11-26 01:38:32 +00:00
|
|
|
"files": [
|
|
|
|
|
"lib",
|
|
|
|
|
"scripts",
|
|
|
|
|
"Procfile",
|
2016-11-26 10:48:31 +00:00
|
|
|
"schema.json",
|
|
|
|
|
"yarn.lock"
|
2016-11-26 01:38:32 +00:00
|
|
|
],
|
2016-08-20 05:59:32 +00:00
|
|
|
"engines": {
|
2016-11-26 10:48:31 +00:00
|
|
|
"node": ">=4.3.0",
|
|
|
|
|
"npm": ">=3.8.0"
|
2016-08-20 05:59:32 +00:00
|
|
|
},
|
2016-08-08 07:54:06 +00:00
|
|
|
"scripts": {
|
2016-11-26 02:18:41 +00:00
|
|
|
"build": "npm run build:lib && npm run update-schema && npm run build:docs",
|
2016-11-29 03:14:43 +00:00
|
|
|
"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",
|
2016-11-30 02:18:50 +00:00
|
|
|
"build:docs:schema": "printf '# GraphQL Schema\\n\\n%s\n' \"$(npm run -s print-schema:md)\" > docs/schema.md",
|
2016-11-29 03:33:52 +00:00
|
|
|
"build:docs:types": "babel-node scripts/render-types.js > docs/types.md",
|
2016-08-08 07:54:06 +00:00
|
|
|
"build:lib": "babel --out-dir lib src",
|
|
|
|
|
"clean": "npm run clean:lib",
|
|
|
|
|
"clean:lib": "rm -rf lib",
|
2016-08-20 05:59:32 +00:00
|
|
|
"deploy": "./scripts/deploy.sh",
|
2016-08-08 07:54:06 +00:00
|
|
|
"lint": "standard --verbose | snazzy",
|
2016-12-07 08:42:07 +00:00
|
|
|
"prepublish": "npm run clean && npm run build",
|
2016-08-20 05:59:32 +00:00
|
|
|
"print-schema": "babel-node scripts/print-schema.js",
|
2016-11-26 01:38:32 +00:00
|
|
|
"print-schema:json": "npm run print-schema -- --json",
|
|
|
|
|
"print-schema:md": "printf '```graphql\\n%s\\n```' \"$(npm run -s print-schema)\"",
|
2016-08-08 07:54:06 +00:00
|
|
|
"start": "node lib/index.js",
|
|
|
|
|
"start:dev": "nodemon --exec babel-node src/index.js",
|
2016-12-07 08:23:02 +00:00
|
|
|
"test": "npm run lint && npm run test:coverage",
|
|
|
|
|
"test:coverage": "cross-env NODE_ENV=test nyc npm run test:only",
|
2016-12-10 02:55:41 +00:00
|
|
|
"test:only": "cross-env VCR_MODE=playback ava",
|
|
|
|
|
"test:record": "cross-env VCR_MODE=record ava",
|
2016-12-07 08:23:02 +00:00
|
|
|
"test:watch": "npm run test:only -- --watch",
|
2016-11-29 03:14:43 +00:00
|
|
|
"update-schema": "npm run -s print-schema:json > schema.json"
|
2016-08-08 07:54:06 +00:00
|
|
|
},
|
2016-12-07 14:25:22 +00:00
|
|
|
"pre-commit": [
|
|
|
|
|
"build:docs",
|
|
|
|
|
"lint"
|
|
|
|
|
],
|
2016-11-26 10:57:34 +00:00
|
|
|
"keywords": [
|
|
|
|
|
"musicbrainz",
|
|
|
|
|
"graphql",
|
|
|
|
|
"api",
|
|
|
|
|
"express",
|
|
|
|
|
"middleware",
|
|
|
|
|
"relay"
|
|
|
|
|
],
|
2016-08-08 07:54:06 +00:00
|
|
|
"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": {
|
2016-12-07 08:23:02 +00:00
|
|
|
"babel-runtime": "^6.18.0",
|
2016-11-26 01:38:32 +00:00
|
|
|
"compression": "^1.6.2",
|
2016-08-08 07:54:06 +00:00
|
|
|
"dashify": "^0.2.2",
|
|
|
|
|
"dataloader": "^1.2.0",
|
2016-11-26 01:38:32 +00:00
|
|
|
"debug": "^2.3.3",
|
|
|
|
|
"dotenv": "^2.0.0",
|
|
|
|
|
"es6-error": "^4.0.0",
|
2016-08-08 07:54:06 +00:00
|
|
|
"express": "^4.14.0",
|
2016-11-26 01:38:32 +00:00
|
|
|
"express-graphql": "^0.6.1",
|
|
|
|
|
"graphql": "^0.8.2",
|
|
|
|
|
"graphql-relay": "^0.4.4",
|
|
|
|
|
"lru-cache": "^4.0.1",
|
2016-08-31 06:33:29 +00:00
|
|
|
"pascalcase": "^0.1.1",
|
2016-11-26 01:38:32 +00:00
|
|
|
"qs": "^6.3.0",
|
|
|
|
|
"request": "^2.79.0",
|
2016-09-01 04:31:48 +00:00
|
|
|
"retry": "^0.10.0"
|
2016-08-08 07:54:06 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2016-12-07 08:23:02 +00:00
|
|
|
"ava": "^0.17.0",
|
2016-11-26 01:38:32 +00:00
|
|
|
"babel-cli": "^6.18.0",
|
|
|
|
|
"babel-eslint": "^7.1.1",
|
2016-12-07 08:23:02 +00:00
|
|
|
"babel-plugin-istanbul": "^3.0.0",
|
|
|
|
|
"babel-plugin-transform-runtime": "^6.15.0",
|
2016-11-26 01:38:32 +00:00
|
|
|
"babel-preset-es2015": "^6.18.0",
|
|
|
|
|
"babel-preset-stage-2": "^6.18.0",
|
|
|
|
|
"babel-register": "^6.18.0",
|
2016-12-07 08:23:02 +00:00
|
|
|
"coveralls": "^2.11.15",
|
|
|
|
|
"cross-env": "^3.1.3",
|
2016-11-26 02:18:41 +00:00
|
|
|
"doctoc": "^1.2.0",
|
2016-11-29 03:14:43 +00:00
|
|
|
"marked": "^0.3.6",
|
2016-11-26 01:38:32 +00:00
|
|
|
"nodemon": "^1.11.0",
|
2016-12-07 08:23:02 +00:00
|
|
|
"nyc": "^10.0.0",
|
2016-12-07 14:25:22 +00:00
|
|
|
"pre-commit": "^1.1.3",
|
2016-12-07 08:23:02 +00:00
|
|
|
"rimraf": "^2.5.4",
|
|
|
|
|
"sepia": "^2.0.2",
|
2016-11-26 01:38:32 +00:00
|
|
|
"snazzy": "^5.0.0",
|
|
|
|
|
"standard": "^8.6.0"
|
2016-08-08 07:54:06 +00:00
|
|
|
},
|
|
|
|
|
"standard": {
|
|
|
|
|
"parser": "babel-eslint"
|
2016-12-07 08:23:02 +00:00
|
|
|
},
|
|
|
|
|
"ava": {
|
|
|
|
|
"require": [
|
|
|
|
|
"babel-register"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"nyc": {
|
|
|
|
|
"include": [
|
|
|
|
|
"src/**"
|
|
|
|
|
],
|
|
|
|
|
"reporter": [
|
|
|
|
|
"lcov",
|
|
|
|
|
"text"
|
|
|
|
|
],
|
|
|
|
|
"all": true,
|
|
|
|
|
"cache": true,
|
|
|
|
|
"sourceMap": false,
|
|
|
|
|
"instrument": false
|
2016-08-08 07:54:06 +00:00
|
|
|
}
|
|
|
|
|
}
|