From b96ccc74de8fc5e7c3c7a0e64726d68e9778df21 Mon Sep 17 00:00:00 2001 From: Sasha Koss Date: Sat, 11 Jun 2022 15:10:39 +0800 Subject: [PATCH] Build & bundle TS declaration --- .gitignore | 3 ++- package.json | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cd4211e..7d87562 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -index.js \ No newline at end of file +index.js +index.d.ts \ No newline at end of file diff --git a/package.json b/package.json index 53f5cb8..8e7513d 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,15 @@ { "name": "@date-fns/utc", - "version": "0.1.0", + "version": "0.2.0", "description": "UTC date utils", "main": "index.js", "scripts": { "test": "env TZ=Asia/Kolkata vitest", - "build": "tsc index.ts" + "build": "tsc index.ts --declaration --skipLibCheck" }, "files": [ "index.js", + "index.d.ts", "README.md" ], "repository": {