nexus/package.json

108 lines
3.1 KiB
JSON
Raw Permalink Normal View History

2018-11-03 05:11:51 +08:00
{
"name": "nexus",
2020-06-04 04:11:57 +08:00
"version": "0.0.0-dripip",
2018-11-13 03:54:29 +08:00
"description": "Scalable, strongly typed GraphQL schema development",
"keywords": [
"graphql",
"schema",
"types",
"typescript"
],
"homepage": "https://nexusjs.org",
"repository": {
"type": "git",
2020-12-16 21:59:33 +08:00
"url": "git://github.com/graphql-nexus/nexus.git"
},
"license": "MIT",
"author": {
"name": "Tim Griesser",
"url": "https://github.com/tgriesser"
},
"files": [
"src",
"dist",
2020-05-13 01:58:58 +08:00
"dist-esm",
"LICENSE.md",
"README.md",
"yarn.lock"
],
"main": "dist",
2020-05-13 01:58:58 +08:00
"module": "dist-esm",
"types": "dist/index.d.ts",
2018-11-09 06:58:10 +08:00
"scripts": {
2020-05-13 01:58:58 +08:00
"build": "yarn -s clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
"clean": "rm -rf dist*",
"deploy-site": "yarn && yarn build",
2020-05-13 01:58:58 +08:00
"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",
2019-02-23 03:52:40 +08:00
"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"
2018-11-12 05:34:07 +08:00
},
"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"
]
2018-11-09 06:58:10 +08:00
},
2018-11-03 05:11:51 +08:00
"dependencies": {
"iterall": "^1.3.0",
"tslib": "^2.0.3"
2018-11-03 05:11:51 +08:00
},
"devDependencies": {
"@types/graphql-iso-date": "^3.4.0",
"@types/graphql-relay": "^0.4.11",
"@types/jest": "^26.0.15",
2018-11-13 11:19:23 +08:00
"@types/node": "^10.12.2",
"@types/prettier": "^1.18.3",
"@typescript-eslint/eslint-plugin": "2.7.0",
2020-09-22 21:24:22 +08:00
"dripip": "^0.10.0",
"eslint": "^6.6.0",
"get-port": "^5.1.1",
"graphql": "^15.3.0",
"graphql-relay": "^0.6.0",
"graphql-scalars": "^1.2.6",
"gulp": "4.0.2",
2018-11-03 05:11:51 +08:00
"husky": "^1.1.2",
"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.1",
2018-11-03 05:11:51 +08:00
"lint-staged": "^7.3.0",
2021-06-24 04:27:02 +08:00
"prettier": "^2.3.1",
"sort-package-json": "^1.22.1",
"ts-jest": "^26.4.4",
"ts-morph": "^8.2.0",
"ts-node": "^9.0.0",
"tsd": "^0.13.1",
2018-11-04 11:44:05 +08:00
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^4.1.2"
2018-11-03 05:11:51 +08:00
},
"peerDependencies": {
2020-11-28 03:22:48 +08:00
"graphql": "^14.5.8 || 15.x"
2018-11-03 05:11:51 +08:00
}
}