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", () => {