2016-08-08 07:54:06 +00:00
|
|
|
{
|
|
|
|
|
"name": "graphbrainz",
|
2021-04-16 04:34:29 +00:00
|
|
|
"version": "9.0.0-beta.2",
|
2018-08-04 22:08:19 +00:00
|
|
|
"description": "A GraphQL schema, Express server, and middleware for querying the MusicBrainz.",
|
2021-04-16 04:34:29 +00:00
|
|
|
"keywords": [
|
|
|
|
|
"musicbrainz",
|
|
|
|
|
"graphql",
|
|
|
|
|
"api",
|
|
|
|
|
"express",
|
|
|
|
|
"middleware",
|
|
|
|
|
"relay"
|
|
|
|
|
],
|
|
|
|
|
"homepage": "https://github.com/exogen/graphbrainz",
|
|
|
|
|
"author": {
|
|
|
|
|
"name": "Brian Beck",
|
|
|
|
|
"email": "exogen@gmail.com",
|
|
|
|
|
"url": "https://brianbeck.com/"
|
|
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/exogen/graphbrainz.git"
|
|
|
|
|
},
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=12.18.0",
|
|
|
|
|
"npm": ">=6.0.0"
|
|
|
|
|
},
|
|
|
|
|
"type": "module",
|
|
|
|
|
"main": "./src/index.js",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": "./src/index.js",
|
|
|
|
|
"./extensions/cover-art-archive": "./extensions/cover-art-archive.js",
|
|
|
|
|
"./extensions/fanart-tv": "./extensions/fanart-tv.js",
|
|
|
|
|
"./extensions/mediawiki": "./extensions/mediawiki.js",
|
|
|
|
|
"./extensions/the-audio-db": "./extensions/the-audio-db.js",
|
|
|
|
|
"./package.json": "./package.json",
|
|
|
|
|
"./schema.json": "./schema.json"
|
|
|
|
|
},
|
2017-05-16 04:28:54 +00:00
|
|
|
"bin": "cli.js",
|
2016-11-26 01:38:32 +00:00
|
|
|
"files": [
|
2017-10-19 08:03:33 +00:00
|
|
|
"extensions",
|
2017-05-16 05:02:25 +00:00
|
|
|
"src",
|
2017-05-16 04:28:54 +00:00
|
|
|
"cli.js",
|
2021-04-16 04:34:29 +00:00
|
|
|
"schema.json"
|
2016-11-26 01:38:32 +00:00
|
|
|
],
|
2016-08-08 07:54:06 +00:00
|
|
|
"scripts": {
|
2021-04-16 04:34:29 +00:00
|
|
|
"build": "npm run update-schema && npm run build:docs",
|
2017-10-19 08:00:21 +00:00
|
|
|
"build:docs": "npm run build:docs:readme && npm run build:docs:schema && npm run build:docs:types && npm run build:docs:extensions",
|
2021-04-16 04:34:29 +00:00
|
|
|
"build:docs:extensions": "node scripts/build-extension-docs.js",
|
2017-10-19 08:00:21 +00:00
|
|
|
"build:docs:readme": "doctoc --notitle README.md docs/extensions/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",
|
2021-04-16 04:34:29 +00:00
|
|
|
"build:docs:types": "graphql-markdown ./schema.json --no-title --update-file docs/types.md",
|
2016-08-20 05:59:32 +00:00
|
|
|
"deploy": "./scripts/deploy.sh",
|
2017-11-07 05:54:56 +00:00
|
|
|
"format": "npm run lint:fix",
|
|
|
|
|
"lint": "eslint .",
|
|
|
|
|
"lint:fix": "eslint --fix .",
|
2016-12-21 02:04:08 +00:00
|
|
|
"preversion": "npm run update-schema && npm run build:docs && git add schema.json docs",
|
2021-04-16 04:34:29 +00:00
|
|
|
"print-schema": "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)\"",
|
2021-04-16 04:34:29 +00:00
|
|
|
"start": "node cli.js",
|
|
|
|
|
"start:dev": "nodemon cli.js",
|
2016-12-07 08:23:02 +00:00
|
|
|
"test": "npm run lint && npm run test:coverage",
|
2021-04-16 04:34:29 +00:00
|
|
|
"test:coverage": "c8 --all npm run test:only",
|
|
|
|
|
"test:only": "cross-env NOCK_MODE=play ava",
|
|
|
|
|
"test:record": "cross-env NOCK_MODE=record ava --concurrency=1 --timeout=1m",
|
|
|
|
|
"test:record-new": "cross-env NOCK_MODE=cache ava --concurrency=1 --timeout=1m",
|
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
|
|
|
},
|
2021-04-16 04:34:29 +00:00
|
|
|
"ava": {
|
|
|
|
|
"require": [
|
|
|
|
|
"dotenv/config"
|
|
|
|
|
]
|
2016-08-08 07:54:06 +00:00
|
|
|
},
|
2021-04-16 04:34:29 +00:00
|
|
|
"ava-nock": {
|
|
|
|
|
"fixtureDir": "fixtures",
|
|
|
|
|
"pathFilter": [
|
|
|
|
|
"(([?&]api_key=)(\\w+))|((/json/)(\\w+)(/[\\w-]+-mb\\.php))",
|
|
|
|
|
"$2$5*$7"
|
|
|
|
|
]
|
2016-08-08 07:54:06 +00:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2021-04-16 04:34:29 +00:00
|
|
|
"@graphql-tools/schema": "^7.1.3",
|
2018-08-04 19:04:19 +00:00
|
|
|
"compression": "^1.7.3",
|
2017-10-20 04:40:29 +00:00
|
|
|
"cors": "^2.8.4",
|
2021-04-16 04:34:29 +00:00
|
|
|
"dashify": "^2.0.0",
|
|
|
|
|
"dataloader": "^2.0.0",
|
|
|
|
|
"debug": "^4.3.1",
|
|
|
|
|
"dotenv": "^8.2.0",
|
2018-08-04 19:04:19 +00:00
|
|
|
"es6-error": "^4.1.1",
|
|
|
|
|
"express": "^4.16.3",
|
2021-04-16 04:34:29 +00:00
|
|
|
"express-graphql": "^0.12.0",
|
|
|
|
|
"got": "^11.8.2",
|
|
|
|
|
"graphql": "^15.5.0",
|
|
|
|
|
"graphql-relay": "^0.6.0",
|
|
|
|
|
"lru-cache": "^6.0.0",
|
|
|
|
|
"pascalcase": "^1.0.0",
|
|
|
|
|
"read-pkg-up": "^8.0.0"
|
2016-08-08 07:54:06 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2021-04-16 04:34:29 +00:00
|
|
|
"ava": "^3.15.0",
|
|
|
|
|
"ava-nock": "^2.1.0",
|
|
|
|
|
"c8": "^7.7.1",
|
2018-08-04 19:04:19 +00:00
|
|
|
"coveralls": "^3.0.2",
|
2021-04-16 04:34:29 +00:00
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
|
"doctoc": "^2.0.0",
|
|
|
|
|
"eslint": "^7.24.0",
|
|
|
|
|
"eslint-config-prettier": "^8.1.0",
|
2018-08-04 19:04:19 +00:00
|
|
|
"eslint-plugin-import": "^2.13.0",
|
2021-04-16 04:34:29 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
|
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
|
|
|
"eslint-plugin-promise": "^5.1.0",
|
|
|
|
|
"graphql-markdown": "^6.0.0",
|
|
|
|
|
"nodemon": "^2.0.7",
|
|
|
|
|
"prettier": "^2.2.1",
|
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
|
"sinon": "^10.0.0"
|
2016-08-08 07:54:06 +00:00
|
|
|
}
|
|
|
|
|
}
|