From a1c8026eb75199105d42794382fe62d02dc709f7 Mon Sep 17 00:00:00 2001 From: KeisukeYamashita <19yamashita15@gmail.com> Date: Fri, 14 Apr 2023 22:19:47 +0900 Subject: [PATCH] Add `types` and `files` to `package.json` (#29) * feat: add types to package.json Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> * feat: bump package to v0.2.2 Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> * feat: add files to package.json Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> --------- Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com> --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d74848..8c81987 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "graphql-citadel", - "version": "0.2.1", + "version": "0.2.2", "description": "Easy to use schema-first GraphQL schema directive for authentication and authorization", "main": "./dist/index.js", + "types": "./dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/KeraphQL/graphql-citadel.git" @@ -12,6 +13,9 @@ "scripts": { "build": "tsc" }, + "files": [ + "dist" + ], "dependencies": { "@apollo/server": "^4.6.0", "@graphql-tools/utils": "^9.2.1",