71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"name": "nexus",
|
|
"version": "0.9.0",
|
|
"main": "dist",
|
|
"types": "dist",
|
|
"license": "MIT",
|
|
"description": "Scalable, strongly typed GraphQL schema development",
|
|
"scripts": {
|
|
"dev": "yarn link-examples && tsc -w",
|
|
"test": "jest",
|
|
"build": "tsc && prettier --write 'dist/**/*.ts'",
|
|
"lint": "tslint -p tsconfig.json",
|
|
"clean": "rm -rf dist",
|
|
"format": "prettier --write 'src/**/*.ts'",
|
|
"prepublish": "yarn clean && yarn lint && yarn build",
|
|
"website": "cd website && yarn && yarn start",
|
|
"examples": "yarn link-examples && cd website && yarn gulp run-examples",
|
|
"deploy-site": "cd website && yarn && yarn gulp link-website && yarn build",
|
|
"link-examples": "cd website && yarn && yarn gulp link-examples",
|
|
"unlink-examples": "cd website && yarn && yarn gulp unlink-examples",
|
|
"upgrade-deps": "cd website && yarn && 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.15.2",
|
|
"@types/faker": "^4.1.5",
|
|
"faker": "^4.1.0",
|
|
"graphql": "^14.0.2",
|
|
"husky": "^1.1.2",
|
|
"jest": "^23.6.0",
|
|
"lint-staged": "^7.3.0",
|
|
"prettier": "^1.16.0",
|
|
"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"
|
|
]
|
|
}
|
|
}
|