From 4caa9b07de10e736364d43c5ff9e0bf7923060fd Mon Sep 17 00:00:00 2001 From: haricnugraha Date: Tue, 10 Sep 2024 16:54:29 +0700 Subject: [PATCH] Fix: Include dist directory to the NPM package --- package-lock.json | 4 ++-- package.json | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c6416ed..98705ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hyperjumptech/strapi-optimized-image", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hyperjumptech/strapi-optimized-image", - "version": "0.0.1", + "version": "0.0.2", "license": "MIT", "devDependencies": { "@eslint/js": "^9.10.0", diff --git a/package.json b/package.json index cd4a406..8da4f7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperjumptech/strapi-optimized-image", - "version": "0.0.1", + "version": "0.0.2", "description": "Strapi optimized image", "bugs": { "url": "https://github.com/hyperjumptech/strapi-optimized-image/issues" @@ -20,6 +20,9 @@ "author": "@hyperjumptech", "main": "./dist/index.js", "types": "./dist/index.d.ts", + "files": [ + "dist" + ], "scripts": { "build": "tsc", "dev": "tsc -w",