1 | {
|
2 | "name": "nexus",
|
3 | "version": "1.1.0",
|
4 | "description": "Scalable, strongly typed GraphQL schema development",
|
5 | "keywords": [
|
6 | "graphql",
|
7 | "schema",
|
8 | "types",
|
9 | "typescript"
|
10 | ],
|
11 | "homepage": "https://nexusjs.org",
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "git://github.com/graphql-nexus/nexus.git"
|
15 | },
|
16 | "license": "MIT",
|
17 | "author": {
|
18 | "name": "Tim Griesser",
|
19 | "url": "https://github.com/tgriesser"
|
20 | },
|
21 | "files": [
|
22 | "src",
|
23 | "dist",
|
24 | "dist-esm",
|
25 | "LICENSE.md",
|
26 | "README.md",
|
27 | "yarn.lock"
|
28 | ],
|
29 | "main": "dist",
|
30 | "module": "dist-esm",
|
31 | "types": "dist/index.d.ts",
|
32 | "scripts": {
|
33 | "build": "yarn -s clean && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
|
34 | "clean": "rm -rf dist*",
|
35 | "deploy-site": "yarn && yarn build",
|
36 | "dev": "tsc -p tsconfig.cjs.json -w",
|
37 | "dev:examples": "yarn -s link-examples && yarn dev",
|
38 | "dev:test": "jest --watch",
|
39 | "examples": "yarn link-examples && yarn gulp run-examples",
|
40 | "format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'",
|
41 | "format:ci": "prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/*/src/**.ts'",
|
42 | "link-examples": "yarn && yarn gulp link-examples",
|
43 | "lint": "tslint -p tsconfig.json",
|
44 | "prepublish": "yarn clean && yarn build",
|
45 | "postpublish": "yarn upgrade-deps || echo 'Oops...'",
|
46 | "release:pr": "dripip pr",
|
47 | "release:preview": "dripip preview",
|
48 | "release:stable": "dripip stable",
|
49 | "pretest": "yarn patch-package",
|
50 | "test": "yarn test:types && jest --testTimeout 10000",
|
51 | "test:ci": "yarn test:types && jest --maxWorkers 2 --coverage --testTimeout 10000",
|
52 | "test:debug": "node --inspect-brk $(yarn bin)/jest -i --watch",
|
53 | "test:types": "tsc -p tsconfig.spec.types.json",
|
54 | "ts-ast-reader": "cd examples/ts-ast-reader && yarn start",
|
55 | "unlink-examples": "yarn && yarn gulp unlink-examples",
|
56 | "upgrade-deps": "yarn && yarn gulp upgrade-deps"
|
57 | },
|
58 | "husky": {
|
59 | "hooks": {
|
60 | "pre-commit": "lint-staged"
|
61 | }
|
62 | },
|
63 | "lint-staged": {
|
64 | "*.{ts,js,graphql,json,css,md}": [
|
65 | "prettier --write",
|
66 | "git add"
|
67 | ],
|
68 | "*package.json": [
|
69 | "sort-package-json",
|
70 | "git add"
|
71 | ]
|
72 | },
|
73 | "dependencies": {
|
74 | "iterall": "^1.3.0",
|
75 | "tslib": "^2.0.3"
|
76 | },
|
77 | "devDependencies": {
|
78 | "@types/graphql-iso-date": "^3.4.0",
|
79 | "@types/graphql-relay": "^0.4.11",
|
80 | "@types/jest": "^26.0.15",
|
81 | "@types/node": "^10.12.2",
|
82 | "@types/prettier": "^1.18.3",
|
83 | "@typescript-eslint/eslint-plugin": "2.7.0",
|
84 | "dripip": "^0.10.0",
|
85 | "eslint": "^6.6.0",
|
86 | "get-port": "^5.1.1",
|
87 | "graphql": "^15.3.0",
|
88 | "graphql-relay": "^0.6.0",
|
89 | "graphql-scalars": "^1.2.6",
|
90 | "gulp": "4.0.2",
|
91 | "husky": "^1.1.2",
|
92 | "jest": "^26.6.3",
|
93 | "jest-watch-typeahead": "^0.6.1",
|
94 | "lint-staged": "^7.3.0",
|
95 | "patch-package": "6.2.2",
|
96 | "prettier": "^2.3.1",
|
97 | "prettier-plugin-jsdoc": "^0.3.23",
|
98 | "sort-package-json": "^1.22.1",
|
99 | "ts-jest": "^26.4.4",
|
100 | "ts-morph": "^8.2.0",
|
101 | "ts-node": "^9.0.0",
|
102 | "tsd": "^0.13.1",
|
103 | "tslint": "^5.11.0",
|
104 | "tslint-config-prettier": "^1.15.0",
|
105 | "typescript": "^4.1.2"
|
106 | },
|
107 | "peerDependencies": {
|
108 | "graphql": "^14.5.8 || 15.x"
|
109 | }
|
110 | }
|