feat: add readme and update ts config
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		
							
								
								
									
										22
									
								
								README.MD
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								README.MD
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
# MiaoScript implement
 | 
			
		||||
 | 
			
		||||
## MiaoScript JS 实现
 | 
			
		||||
 | 
			
		||||
项目 由 TypeScript 进行编写 然后编译至 `es5` 用于兼容 Java8 的 `Nashorn`
 | 
			
		||||
 | 
			
		||||
### Project Path
 | 
			
		||||
 | 
			
		||||
```txt
 | 
			
		||||
└─packages
 | 
			
		||||
    ├─api         全平台兼容的接口
 | 
			
		||||
    ├─core        核心代码 用于引导加载
 | 
			
		||||
    ├─common      公共类库代码 例如 http reflect 模块
 | 
			
		||||
    ├─container   IOC容器 用于注入具体实现
 | 
			
		||||
    ├─nashorn     Nashorn 的类型定义
 | 
			
		||||
    ├─bukkit      BukkitAPI内部实现
 | 
			
		||||
    ├─sponge      SpongeAPI内部实现
 | 
			
		||||
    ├─plugin      插件管理器
 | 
			
		||||
    └─plugins     这里当然是插件啦
 | 
			
		||||
        ├─bukkit  只兼容Bukkit的插件
 | 
			
		||||
        └─sponge  只兼容Sponge的插件
 | 
			
		||||
```
 | 
			
		||||
		Reference in New Issue
	
	Block a user