2018-11-03 05:11:51 +08:00
|
|
|
{
|
2020-12-14 22:41:29 +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",
|
2019-11-08 05:39:33 +08:00
|
|
|
"keywords": [
|
|
|
|
|
"graphql",
|
|
|
|
|
"schema",
|
|
|
|
|
"types",
|
|
|
|
|
"typescript"
|
|
|
|
|
],
|
2020-10-01 21:42:37 +08:00
|
|
|
"homepage": "https://nexusjs.org",
|
2019-11-08 05:39:33 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2020-12-16 21:59:33 +08:00
|
|
|
"url": "git://github.com/graphql-nexus/nexus.git"
|
2019-11-08 05:39:33 +08:00
|
|
|
},
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"author": {
|
|
|
|
|
"name": "Tim Griesser",
|
|
|
|
|
"url": "https://github.com/tgriesser"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"src",
|
|
|
|
|
"dist",
|
2020-05-13 01:58:58 +08:00
|
|
|
"dist-esm",
|
2019-11-08 05:39:33 +08:00
|
|
|
"LICENSE.md",
|
|
|
|
|
"README.md",
|
2020-03-31 04:37:26 +08:00
|
|
|
"yarn.lock"
|
2019-11-08 05:39:33 +08:00
|
|
|
],
|
|
|
|
|
"main": "dist",
|
2020-05-13 01:58:58 +08:00
|
|
|
"module": "dist-esm",
|
2019-11-08 05:39:33 +08:00
|
|
|
"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*",
|
2020-10-04 03:50:56 +08:00
|
|
|
"deploy-site": "yarn && yarn build",
|
2020-05-13 01:58:58 +08:00
|
|
|
"dev": "tsc -p tsconfig.cjs.json -w",
|
2020-10-28 02:21:30 +08:00
|
|
|
"dev:examples": "yarn -s link-examples && yarn dev",
|
2019-11-08 05:39:33 +08:00
|
|
|
"dev:test": "jest --watch",
|
2020-10-04 03:50:56 +08:00
|
|
|
"examples": "yarn link-examples && yarn gulp run-examples",
|
2020-10-04 04:26:50 +08:00
|
|
|
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'",
|
2020-12-07 04:47:58 +08:00
|
|
|
"format:ci": "prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'",
|
2020-10-04 03:50:56 +08:00
|
|
|
"link-examples": "yarn && yarn gulp link-examples",
|
2019-11-08 05:39:33 +08:00
|
|
|
"lint": "tslint -p tsconfig.json",
|
2020-09-30 18:25:39 +08:00
|
|
|
"prepublish": "yarn clean && yarn build",
|
2019-02-23 03:52:40 +08:00
|
|
|
"postpublish": "yarn upgrade-deps || echo 'Oops...'",
|
2020-06-04 04:09:38 +08:00
|
|
|
"release:pr": "dripip pr",
|
|
|
|
|
"release:preview": "dripip preview",
|
|
|
|
|
"release:stable": "dripip stable",
|
2020-11-28 03:40:49 +08:00
|
|
|
"test": "yarn test:types && jest --testTimeout 10000",
|
|
|
|
|
"test:ci": "yarn test:types && jest --maxWorkers 2 --coverage --testTimeout 10000",
|
2019-11-08 05:39:33 +08:00
|
|
|
"test:debug": "node --inspect-brk $(yarn bin)/jest -i --watch",
|
2020-08-04 04:56:44 +08:00
|
|
|
"test:types": "tsc -p tsconfig.spec.types.json",
|
2019-11-08 05:39:33 +08:00
|
|
|
"ts-ast-reader": "cd examples/ts-ast-reader && yarn start",
|
2020-10-04 03:50:56 +08:00
|
|
|
"unlink-examples": "yarn && yarn gulp unlink-examples",
|
|
|
|
|
"upgrade-deps": "yarn && yarn gulp upgrade-deps"
|
2018-11-12 05:34:07 +08:00
|
|
|
},
|
2019-11-08 05:39:33 +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": {
|
2020-11-23 22:27:11 +08:00
|
|
|
"iterall": "^1.3.0",
|
|
|
|
|
"tslib": "^2.0.3"
|
2018-11-03 05:11:51 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2020-08-08 04:12:15 +08:00
|
|
|
"@types/graphql-iso-date": "^3.4.0",
|
2020-01-23 09:17:17 +08:00
|
|
|
"@types/graphql-relay": "^0.4.11",
|
2020-11-23 22:27:11 +08:00
|
|
|
"@types/jest": "^26.0.15",
|
2018-11-13 11:19:23 +08:00
|
|
|
"@types/node": "^10.12.2",
|
2019-11-08 05:39:33 +08:00
|
|
|
"@types/prettier": "^1.18.3",
|
2020-01-23 09:17:17 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "2.7.0",
|
2020-09-22 21:24:22 +08:00
|
|
|
"dripip": "^0.10.0",
|
2020-01-23 09:17:17 +08:00
|
|
|
"eslint": "^6.6.0",
|
2020-10-04 03:50:56 +08:00
|
|
|
"get-port": "^5.1.1",
|
2020-08-08 04:12:15 +08:00
|
|
|
"graphql": "^15.3.0",
|
2020-01-23 09:17:17 +08:00
|
|
|
"graphql-relay": "^0.6.0",
|
2020-08-08 04:12:15 +08:00
|
|
|
"graphql-scalars": "^1.2.6",
|
2020-10-04 03:50:56 +08:00
|
|
|
"gulp": "4.0.2",
|
2018-11-03 05:11:51 +08:00
|
|
|
"husky": "^1.1.2",
|
2020-11-23 22:27:11 +08:00
|
|
|
"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",
|
2019-11-08 05:39:33 +08:00
|
|
|
"sort-package-json": "^1.22.1",
|
2020-11-23 22:27:11 +08:00
|
|
|
"ts-jest": "^26.4.4",
|
|
|
|
|
"ts-morph": "^8.2.0",
|
|
|
|
|
"ts-node": "^9.0.0",
|
2020-08-04 04:56:44 +08:00
|
|
|
"tsd": "^0.13.1",
|
2018-11-04 11:44:05 +08:00
|
|
|
"tslint": "^5.11.0",
|
2018-11-13 11:19:04 +08:00
|
|
|
"tslint-config-prettier": "^1.15.0",
|
2020-11-23 22:27:11 +08:00
|
|
|
"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
|
|
|
}
|
|
|
|
|
}
|