-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
75 lines (75 loc) · 2.03 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
{
"name": "@elysiajs/apollo",
"description": "Plugin for Elysia for using GraphQL Apollo",
"version": "1.0.3",
"author": {
"name": "saltyAom",
"url": "https://github.com/SaltyAom",
"email": "saltyaom@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/elysiajs/elysia-apollo"
},
"main": "./dist/index.js",
"exports": {
"bun": "./dist/index.js",
"node": "./dist/cjs/index.js",
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"types": "./src/index.ts",
"bugs": "https://github.com/elysiajs/elysia-apollo/issues",
"homepage": "https://github.com/elysiajs/elysia-apollo",
"keywords": [
"elysia",
"apollo",
"graphql"
],
"license": "MIT",
"scripts": {
"dev": "bun run --hot example/index.ts",
"test": "bun test && npm run test:node",
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js",
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
"release": "npm run build && npm run test && npm publish --access public"
},
"dependencies": {
"@apollo/server": "4.7.1",
"@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0",
"@elysiajs/cors": "0.5.0-rc.0",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6"
},
"devDependencies": {
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.58",
"@types/bun": "^1.0.4",
"@types/node": "^20.1.4",
"elysia": "1.0.2",
"eslint": "^8.40.0",
"rimraf": "4.3.1",
"typescript": "^5.0.4"
},
"peerDependencies": {
"elysia": ">= 1.0.2"
},
"peerDependenciesMeta": {
"@apollo/server-plugin-landing-page-graphql-playground": {
"optional": true
},
"@apollo/server": {
"optional": true
},
"@elysiajs/cors": {
"optional": true
},
"graphql": {
"optional": true
},
"graphql-tag": {
"optional": true
}
}
}