chore: init client sdk

This commit is contained in:
moonrailgun 2024-04-11 00:51:52 +08:00
parent 507cc4ec00
commit 699aedc272
5 changed files with 29 additions and 0 deletions

1
packages/sdk/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
lib

14
packages/sdk/package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "tianji-client-sdk",
"version": "1.0.0",
"description": "",
"main": "lib/index.js",
"scripts": {
"build": "tsc",
"prepare": "tsc",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": ["tianji"],
"author": "moonrailgun <moonrailgun@gmail.com>",
"license": "MIT"
}

View File

@ -0,0 +1,3 @@
export function main() {
console.log('Hello World');
}

View File

@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"outDir": "./lib",
"baseUrl": ".",
"noEmit": false,
},
"include": ["./src/**/*"]
}

View File

@ -3,3 +3,4 @@ packages:
- 'src/server'
- 'src/shared'
- 'website'
- 'packages/*'