UNPKG

nexus

Version:

Scalable, strongly typed GraphQL schema development

108 lines (107 loc) 3.12 kB
{ "name": "nexus", "version": "1.3.0", "description": "Scalable, strongly typed GraphQL schema development", "keywords": [ "graphql", "schema", "types", "typescript" ], "homepage": "https://nexusjs.org", "repository": { "type": "git", "url": "git://github.com/graphql-nexus/nexus.git" }, "license": "MIT", "author": { "name": "Tim Griesser", "url": "https://github.com/tgriesser" }, "files": [ "src", "dist", "dist-esm", "LICENSE.md", "README.md", "yarn.lock" ], "main": "dist", "module": "dist-esm", "types": "dist/index.d.ts", "scripts": { "build": "yarn -s clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json", "clean": "rm -rf dist*", "deploy-site": "yarn && yarn build", "dev": "tsc -p tsconfig.cjs.json -w", "dev:examples": "yarn -s link-examples && yarn dev", "dev:test": "jest --watch", "examples": "yarn link-examples && yarn gulp run-examples", "format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'", "format:ci": "prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'", "link-examples": "yarn && yarn gulp link-examples", "lint": "tslint -p tsconfig.json", "prepublish": "yarn clean && yarn build", "postpublish": "yarn upgrade-deps || echo 'Oops...'", "release:pr": "dripip pr", "release:preview": "dripip preview", "release:stable": "dripip stable", "test": "yarn test:types && jest --testTimeout 10000", "test:ci": "yarn test:types && jest --maxWorkers 2 --coverage --testTimeout 10000", "test:debug": "node --inspect-brk $(yarn bin)/jest -i --watch", "test:types": "tsc -p tsconfig.spec.types.json", "ts-ast-reader": "cd examples/ts-ast-reader && yarn start", "unlink-examples": "yarn && yarn gulp unlink-examples", "upgrade-deps": "yarn && yarn gulp upgrade-deps" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,js,graphql,json,css,md}": [ "prettier --write", "git add" ], "*package.json": [ "sort-package-json", "git add" ] }, "dependencies": { "iterall": "^1.3.0", "tslib": "^2.0.3" }, "devDependencies": { "@types/graphql-iso-date": "^3.4.0", "@types/graphql-relay": "^0.4.11", "@types/jest": "^26.0.15", "@types/node": "^10.12.2", "@types/prettier": "^1.18.3", "@typescript-eslint/eslint-plugin": "2.7.0", "dripip": "^0.10.0", "eslint": "^6.6.0", "get-port": "^5.1.1", "graphql": "^16.3.0", "graphql-relay": "^0.10.0", "graphql-scalars": "^1.14.1", "gulp": "4.0.2", "husky": "^1.1.2", "jest": "^26.6.3", "jest-watch-typeahead": "^0.6.1", "lint-staged": "^7.3.0", "prettier": "^2.5.1", "sort-package-json": "^1.22.1", "ts-jest": "^26.4.4", "ts-morph": "^13.0.3", "ts-node": "^9.0.0", "tsd": "^0.13.1", "tslint": "^5.11.0", "tslint-config-prettier": "^1.15.0", "typescript": "^4.5.5" }, "peerDependencies": { "graphql": "15.x || 16.x" } }