94 lines
2.5 KiB
JSON
94 lines
2.5 KiB
JSON
{
|
|
"name": "nexus",
|
|
"version": "0.12.0-rc.4",
|
|
"description": "Scalable, strongly typed GraphQL schema development",
|
|
"keywords": [
|
|
"graphql",
|
|
"schema",
|
|
"types",
|
|
"typescript"
|
|
],
|
|
"homepage": "https://nexus.js.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/prisma-labs/nexus.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": {
|
|
"name": "Tim Griesser",
|
|
"url": "https://github.com/tgriesser"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"LICENSE.md",
|
|
"README.md",
|
|
"yarn.lock"
|
|
],
|
|
"main": "dist",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"deploy-site": "cd website && yarn && yarn gulp link-website && yarn build",
|
|
"dev": "tsc -w",
|
|
"dev:examples": "yarn -s link-examples && tsc -w",
|
|
"dev:test": "jest --watch",
|
|
"examples": "yarn link-examples && cd website && yarn gulp run-examples",
|
|
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
|
|
"link-examples": "cd website && yarn && yarn gulp link-examples",
|
|
"lint": "tslint -p tsconfig.json",
|
|
"prepublish": "yarn clean && yarn lint && yarn build",
|
|
"postpublish": "yarn upgrade-deps || echo 'Oops...'",
|
|
"test": "jest",
|
|
"test:ci": "jest --coverage --maxWorkers 2",
|
|
"test:debug": "node --inspect-brk $(yarn bin)/jest -i --watch",
|
|
"ts-ast-reader": "cd examples/ts-ast-reader && yarn start",
|
|
"unlink-examples": "cd website && yarn && yarn gulp unlink-examples",
|
|
"upgrade-deps": "cd website && yarn && yarn gulp upgrade-deps",
|
|
"website": "cd website && yarn && yarn start"
|
|
},
|
|
"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.2.2",
|
|
"tslib": "^1.9.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/graphql-iso-date": "^3.3.3",
|
|
"@types/jest": "^23.3.7",
|
|
"@types/node": "^10.12.2",
|
|
"@types/prettier": "^1.18.3",
|
|
"codecov": "^3.6.1",
|
|
"graphql": "^14.5.8",
|
|
"graphql-iso-date": "^3.6.1",
|
|
"husky": "^1.1.2",
|
|
"jest": "^24.9.0",
|
|
"jest-watch-typeahead": "^0.3.1",
|
|
"lint-staged": "^7.3.0",
|
|
"prettier": "^1.19.1",
|
|
"sort-package-json": "^1.22.1",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.15.0",
|
|
"typescript": "3.7.1-rc"
|
|
},
|
|
"peerDependencies": {
|
|
"graphql": "^14.5.0"
|
|
}
|
|
}
|