diff --git a/Package.swift b/Package.swift index a1707e7..0d1aefe 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,13 @@ let package = Package( products: [ .library( name: "jose-swift", - targets: ["JSONWebKey", "JSONWebAlgorithms", "JSONWebEncryption", "JSONWebSignature"] + targets: [ + "JSONWebKey", + "JSONWebAlgorithms", + "JSONWebEncryption", + "JSONWebSignature", + "JSONWebToken" + ] ), .library( name: "Jose", @@ -38,7 +44,8 @@ let package = Package( "JSONWebKey", "JSONWebSignature", "JSONWebAlgorithms", - "JSONWebEncryption" + "JSONWebEncryption", + "JSONWebToken" ] ), .target( @@ -89,6 +96,19 @@ let package = Package( name: "JWKTests", dependencies: ["JSONWebKey", "Tools"] ), + .target( + name: "JSONWebToken", + dependencies: [ + "JSONWebKey", + "JSONWebSignature", + "JSONWebEncryption", + "Tools" + ] + ), + .testTarget( + name: "JWTTests", + dependencies: ["JSONWebToken", "Tools"] + ), .target( name: "Tools" ), diff --git a/README.md b/README.md index b67d00e..451dc7b 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,8 @@ import JSONWebSignature import JSONWebAlgorithms // or import JSONWebKey +// or +import JSONWebToken ``` ## Modules