// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "JWTKeychain",
    products: [
        .library(name: "JWTKeychain", targets: ["JWTKeychain"])
    ],
    dependencies: [
        .package(url: "https://github.com/harlanhaskins/Punctual.swift.git", .upToNextMajor(from: "1.0.0")),
        .package(url: "https://github.com/nodes-vapor/flash.git", .upToNextMajor(from: "1.0.0")),
        .package(url: "https://github.com/nodes-vapor/forms.git", .upToNextMinor(from: "0.4.0")),
        .package(url: "https://github.com/nodes-vapor/sugar.git", .upToNextMajor(from: "2.0.0")),
        .package(url: "https://github.com/vapor/fluent-provider.git", .upToNextMajor(from: "1.0.0")),
        .package(url: "https://github.com/vapor/jwt-provider.git", .upToNextMajor(from: "1.0.0")),
        .package(url: "https://github.com/vapor/leaf-provider.git", .upToNextMajor(from: "1.0.0")),
        .package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "2.0.0")),
        .package(url: "https://github.com/vapor/validation.git", .upToNextMajor(from: "1.0.0")),
    ],
    targets: [
        .target(name: "JWTKeychain", dependencies: ["Punctual", "Flash", "Forms", "Sugar", "FluentProvider", "JWTProvider", "LeafProvider", "Vapor", "Validation"]),
        .testTarget(name: "JWTKeychainTests", dependencies: ["JWTKeychain"])
    ]
)


Add Swift 4 version of Package description
Add Swift 4 version of Package description
