feat: add protocol package
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
090c0b2668
commit
1f574695a1
1
packages/protocol/.npmignore
Symbolic link
1
packages/protocol/.npmignore
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../.npmignore
|
27
packages/protocol/package.json
Normal file
27
packages/protocol/package.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"name": "@ccms/protocol",
|
||||||
|
"version": "0.9.8",
|
||||||
|
"description": "MiaoScript protocol package",
|
||||||
|
"keywords": [
|
||||||
|
"miaoscript",
|
||||||
|
"minecraft",
|
||||||
|
"bukkit",
|
||||||
|
"sponge"
|
||||||
|
],
|
||||||
|
"author": "MiaoWoo <admin@yumc.pw>",
|
||||||
|
"homepage": "https://github.com/circlecloud/ms.git",
|
||||||
|
"license": "ISC",
|
||||||
|
"main": "dist/index.js",
|
||||||
|
"types": "dist/index.d.ts",
|
||||||
|
"scripts": {
|
||||||
|
"clean": "rimraf dist",
|
||||||
|
"watch": "tsc --watch",
|
||||||
|
"build": "yarn clean && tsc",
|
||||||
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"reflect-metadata": "^0.1.13",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
|
"typescript": "^4.0.3"
|
||||||
|
}
|
||||||
|
}
|
1
packages/protocol/src/index.ts
Normal file
1
packages/protocol/src/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export { }
|
7
packages/protocol/tsconfig.json
Normal file
7
packages/protocol/tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": "src",
|
||||||
|
"outDir": "dist"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user