diff --git a/examples/typescript/README.md b/examples/typescript/README.md index 398633a..8744962 100644 --- a/examples/typescript/README.md +++ b/examples/typescript/README.md @@ -7,4 +7,5 @@ This is an example of a Minecraft mod made in TypeScript using ScriptCraft. #### Notes - When updating the Minecraft version, make sure to update it in the ```src/main/ts/package.json``` file as well -- This will also work with JavaScript if you set ```compilerOptions.allowJs``` and optionally ```compilerOptions.checkJs``` in ```src/main/ts/tsconfig.json``` to ```true``` \ No newline at end of file +- This will also work with JavaScript if you set ```compilerOptions.allowJs``` and optionally ```compilerOptions.checkJs``` in ```src/main/ts/tsconfig.json``` to ```true``` +- NPM dependencies are not bundled \ No newline at end of file diff --git a/examples/typescript/src/main/ts/package.json b/examples/typescript/src/main/ts/package.json index 035e8f7..70cecf4 100644 --- a/examples/typescript/src/main/ts/package.json +++ b/examples/typescript/src/main/ts/package.json @@ -1,8 +1,6 @@ { "devDependencies": { - "typescript": "latest" - }, - "dependencies": { + "typescript": "latest", "scriptcraft-api": "https://maven.thebrokenrail.com/com/thebrokenrail/scriptcraft/1.15.2/scriptcraft-1.15.2-api.tar.gz" }, "scripts": { diff --git a/src/main/ts/package.json b/src/main/ts/package.json index ec074d4..fa2df29 100644 --- a/src/main/ts/package.json +++ b/src/main/ts/package.json @@ -1,5 +1,5 @@ { - "name": "minecraft", + "name": "scriptcraft-api", "version": "1.0.0-SNAPSHOT", "devDependencies": { "@typescript-eslint/eslint-plugin": "latest",