diff --git a/docs/FILE_STRUCTURE.md b/docs/FILE_STRUCTURE.md index 90e524f..d4335ec 100644 --- a/docs/FILE_STRUCTURE.md +++ b/docs/FILE_STRUCTURE.md @@ -1,16 +1,16 @@ # File Structure ``` -Jar Root/ -- scriptcraft - - JS or JSON files +- Jar Root + - scriptcraft/ + - Source Root ``` ## Recommended Source Structure ``` -Source Root/ -- ModID - - index.js/index.ts - - Other Modules +- Source Root + - ModID/ + - index.js/index.ts + - Other Modules ``` ### Why is an index file necessary? diff --git a/examples/typescript/README.md b/examples/typescript/README.md index 8acff95..9da5ef0 100644 --- a/examples/typescript/README.md +++ b/examples/typescript/README.md @@ -14,9 +14,10 @@ This is an example of a Minecraft mod made in TypeScript using ScriptCraft. The ```typescript``` gradle configuration will extract the specified API JAR into ```src/main/ts/build/dependencies```. #### API JAR Format -```$xslt -- src/ - - DTS, TS, JS, or JSON files and folders -- types/ - - File structure of node_modules/@types +``` +- API JAR Root + - src/ + - Source Root + - types/ + - File structure of node_modules/@types ``` \ No newline at end of file