From d175b7e295039e09cb1be8b9d44002a39ad5fc2a Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 18 Aug 2021 21:21:29 +0200 Subject: [PATCH] Updated --- package.json | 3 ++- src/{index.ts => main.ts} | 0 test/src/Utillity.test.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename src/{index.ts => main.ts} (100%) diff --git a/package.json b/package.json index 6435ea9f..3300f136 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "minecraft-bedrock-schemas", "version": "1.0.0", "description": "The unit test for minecraft-bedrock-schemas", - "main": "index.js", + "main": "./lib/src/main.js", + "types": "./lib/src/main.d.ts", "directories": { "test": "test" }, diff --git a/src/index.ts b/src/main.ts similarity index 100% rename from src/index.ts rename to src/main.ts diff --git a/test/src/Utillity.test.ts b/test/src/Utillity.test.ts index 97b79e86..a64b63ea 100644 --- a/test/src/Utillity.test.ts +++ b/test/src/Utillity.test.ts @@ -1,5 +1,5 @@ import { expect } from "chai"; -import { DummyFiles } from "../../src"; +import { DummyFiles } from "../../src/main"; import { Files } from "./Utillity"; describe("Files", () => {