-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathpackage.json
114 lines (114 loc) · 2.89 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
105
106
107
108
109
110
111
112
113
114
{
"name": "sofa-api",
"description": "Create REST APIs with GraphQL",
"version": "0.18.8",
"type": "module",
"buildOptions": {
"input": "./src/index.ts"
},
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"require": {
"types": "./dist/typings/index.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./package.json": "./package.json"
},
"typings": "dist/typings/index.d.ts",
"typescript": {
"definition": "dist/typings/index.d.ts"
},
"license": "MIT",
"keywords": [
"api",
"rest",
"graphql",
"sofa"
],
"repository": {
"type": "git",
"url": "Urigo/sofa"
},
"author": {
"name": "Uri Goldshtein",
"email": "[email protected]",
"url": "https://github.com/Urigo"
},
"peerDependencies": {
"graphql": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^10.0.0",
"@whatwg-node/fetch": "^0.10.0",
"fets": "^0.8.0",
"ansi-colors": "^4.1.3",
"openapi-types": "^12.1.0",
"param-case": "^3.0.4",
"title-case": "^3.0.3",
"qs": "^6.11.2",
"tslib": "^2.5.0"
},
"scripts": {
"start": "cd example && tsup-node index.ts && mv dist/index.js dist/index.cjs && node dist/index.cjs",
"clean": "rm -rf dist",
"prebuild": "yarn clean",
"build": "bob build --single",
"test": "jest --no-watchman",
"release": "yarn build && changeset publish"
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.11",
"@babel/core": "7.26.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.26.0",
"@babel/preset-typescript": "7.26.0",
"@types/express": "5.0.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.6",
"@types/swagger-ui-dist": "3.30.5",
"@types/yamljs": "0.2.34",
"@types/qs": "6.9.18",
"babel-jest": "29.7.0",
"bob-the-bundler": "7.0.1",
"chalk": "^5.4.1",
"graphql": "16.10.0",
"graphql-scalars": "1.24.0",
"graphql-yoga": "5.10.9",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.3.0",
"prettier": "3.4.2",
"swagger-ui-dist": "5.18.2",
"ts-jest": "29.2.5",
"tsup": "8.3.5",
"typescript": "5.7.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,md,json}": [
"prettier --write"
]
},
"publishConfig": {
"directory": "dist",
"access": "public"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}