forked from prismake/typegql
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 2.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "decapi",
"version": "2.1.2",
"type": "module",
"main": "dist/cjs/index.js",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"types": "types/index.d.ts",
"license": "MIT",
"scripts": {
"docz:dev": "docz dev",
"lint": "tslint --project ./tsconfig.json",
"docz:build": "docz build && cp docs/netlify.toml .docz/dist/",
"pretest": "yarn lint",
"bench": "node --loader ts-node/esm -prof --experimental-specifier-resolution=node src/benchmark/decapi",
"benchTG": "ts-node-esm -C ttypescript src/benchmark/type-graphql",
"test": "jest --coverage",
"w": "jest --watch",
"buildCjs": "rm -rf types lib && tsc --project tsconfig.json --module commonjs --outDir dist/cjs",
"buildEsm": "rm -rf types lib && tsc --project tsconfig.json --module ESNext --outDir dist/esm",
"precommit": "pretty-quick --staged",
"prepublishOnly": "yarn build",
"build": "yarn buildCjs && yarn buildEsm"
},
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/capaj/decapi"
},
"keywords": [
"typescript",
"graphql",
"gql",
"schema",
"resolvers",
"api",
"typesafe",
"oop",
"orm",
"types",
"decorators",
"controllers",
"apollo",
"backend"
],
"devDependencies": {
"@types/graphql": "^14.5.0",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.3",
"@types/reflect-metadata": "^0.1.0",
"docz": "1",
"docz-theme-default": "^1.2.0",
"gh-pages": "^4.0.0",
"graphql": "^16",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-ts-webcompat-resolver": "^1.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.77.2",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^28.0.7",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-sonarts": "^1.9.0",
"type-graphql": "^1.1.1",
"typescript": "^4.7.4"
},
"peerDependencies": {
"graphql": "^16 | ^17"
},
"dependencies": {
"class-transformer": "^0.5.1",
"graphql-scalars": "^1.17.0",
"reflect-metadata": "^0.1.13",
"ttypescript": "^1.5.13",
"typescript-rtti": "^0.8.2"
},
"resolutions": {
"get-pkg-repo": "4.1.1",
"hosted-git-info": "^2.1.4"
},
"files": [
"dist/**",
"src/**",
"types/**"
],
"lint-staged": {
"*.{ts,tsx}": [
"tslint --fix"
],
"*.{js,jsx,mjs,json,css,ts,tsx,less}": [
"prettier --write"
]
}
}