UNPKG

apollo-log

Version:

A logging plugin for Apollo GraphQL Server

109 lines (108 loc) 2.87 kB
{ "name": "apollo-log", "version": "1.1.0", "description": "A logging plugin for Apollo GraphQL Server", "license": "MPL-2.0", "repository": "shellscape/apollo-log", "author": "Andrew Powell <andrew@shellscape.org>", "homepage": "https://github.com/shellscape/apollo-log", "bugs": "https://github.com/shellscape/apollo-log/issues", "main": "dist/index.js", "engines": { "node": ">= 10.23.1" }, "scripts": { "build": "tsc --project tsconfig.json", "ci:coverage": "nyc pnpm ci:test && nyc report --reporter=text-lcov > coverage.lcov", "ci:lint": "pnpmlint && pnpm security", "ci:test": "pnpm test -- --verbose", "lint": "pnpm lint:docs && pnpm lint:json && pnpm lint:package && pnpm lint:js", "lint-staged": "lint-staged", "lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md", "lint:js": "eslint --fix --cache src test", "lint:json": "prettier --write codecov.yml .circleci/config.yml .eslintrc.js", "lint:package": "prettier --write package.json --plugin=prettier-plugin-package", "prepublishOnly": "pnpm lint && pnpm build", "pretest": "pnpm build", "security": "pnpm audit --audit-level=high --prod", "test": "ava" }, "files": [ "dist/", "README.md", "LICENSE" ], "keywords": [ "apollo", "apollo extension", "apollo plugin", "apollo-server", "extension", "graphql", "log", "logger", "plugin", "server" ], "dependencies": { "apollo-server-plugin-base": "^0.10.4", "chalk": "^4.1.0", "fast-safe-stringify": "^2.0.7", "loglevelnext": "^4.0.1", "nanoid": "^3.1.20" }, "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@types/sinon": "^9.0.10", "@typescript-eslint/eslint-plugin": "^4.14.0", "@typescript-eslint/parser": "^4.14.0", "apollo-boost": "^0.4.9", "apollo-server": "^2.19.2", "ava": "^3.15.0", "eslint": "^7.18.0", "eslint-config-shellscape": "^3.0.0", "eslint-plugin-prettier": "^3.3.1", "isomorphic-unfetch": "^3.1.0", "lint-staged": "^10.5.3", "nyc": "^15.1.0", "pre-commit": "^1.2.2", "prettier": "^2.2.1", "prettier-plugin-package": "^1.3.0", "sinon": "^9.2.4", "ts-node": "^9.1.1", "tslib": "^2.1.0", "typescript": "^4.1.3" }, "ava": { "extensions": [ "ts" ], "files": [ "!**/fixtures/**", "!**/helpers/**" ], "require": [ "ts-node/register" ] }, "jest": { "testEnvironment": "node", "coverageDirectory": "./coverage/", "collectCoverage": true }, "lint-staged": { "*.js": [ "eslint --fix" ] }, "nyc": { "include": [ "src/*.ts" ], "exclude": [ "test/" ] }, "pre-commit": "lint-staged" }