-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
35 lines (33 loc) · 1.34 KB
/
Package.swift
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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "GraphQLTransportWS",
products: [
.library(
name: "GraphQLTransportWS",
targets: ["GraphQLTransportWS"]
),
],
dependencies: [
.package(name: "Graphiti", url: "https://github.com/GraphQLSwift/Graphiti.git", from: "1.0.0"),
.package(name: "GraphQL", url: "https://github.com/GraphQLSwift/GraphQL.git", from: "2.2.1"),
.package(name: "GraphQLRxSwift", url: "https://github.com/GraphQLSwift/GraphQLRxSwift.git", from: "0.0.4"),
.package(name: "RxSwift", url: "https://github.com/ReactiveX/RxSwift.git", from: "6.1.0"),
.package(name: "swift-nio", url: "https://github.com/apple/swift-nio.git", from: "2.33.0"),
],
targets: [
.target(
name: "GraphQLTransportWS",
dependencies: [
.product(name: "Graphiti", package: "Graphiti"),
.product(name: "GraphQLRxSwift", package: "GraphQLRxSwift"),
.product(name: "GraphQL", package: "GraphQL"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "RxSwift", package: "RxSwift")
]),
.testTarget(
name: "GraphQLTransportWSTests",
dependencies: ["GraphQLTransportWS"]
),
]
)