nexus/package.json

67 lines
1.7 KiB
JSON

{
"name": "nexus",
"version": "0.6.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"description": "Scalable, strongly typed GraphQL schema development",
"scripts": {
"dev": "yarn link-examples && tsc -w",
"test": "jest",
"build": "tsc",
"lint": "tslint -p tsconfig.json",
"clean": "rm -rf dist",
"prepublish": "yarn clean && yarn lint && yarn build",
"website": "cd website && yarn && yarn start",
"examples": "yarn link-examples && cd website && gulp run-examples",
"link-examples": "cd website && yarn && gulp link-examples",
"unlink-examples": "cd website && yarn && gulp unlink-examples",
"upgrade-deps": "cd website && yarn && gulp upgrade-deps",
"ts-ast-reader": "cd examples/ts-ast-reader && yarn start"
},
"files": [
"src",
"dist",
"LICENSE.md",
"README.md",
"yarn.lock"
],
"author": {
"name": "Tim Griesser",
"url": "https://github.com/tgriesser"
},
"dependencies": {
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/graphql": "14.0.3",
"@types/jest": "^23.3.7",
"@types/node": "^10.12.2",
"@types/prettier": "^1.13.2",
"graphql": "^14.0.2",
"husky": "^1.1.2",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3",
"ts-jest": "^23.10.4",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.1.3"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
}
}