chore: init client sdk
This commit is contained in:
parent
507cc4ec00
commit
699aedc272
1
packages/sdk/.gitignore
vendored
Normal file
1
packages/sdk/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
lib
|
14
packages/sdk/package.json
Normal file
14
packages/sdk/package.json
Normal 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"
|
||||||
|
}
|
3
packages/sdk/src/index.ts
Normal file
3
packages/sdk/src/index.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export function main() {
|
||||||
|
console.log('Hello World');
|
||||||
|
}
|
10
packages/sdk/tsconfig.json
Normal file
10
packages/sdk/tsconfig.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "ESNext",
|
||||||
|
"outDir": "./lib",
|
||||||
|
"baseUrl": ".",
|
||||||
|
"noEmit": false,
|
||||||
|
},
|
||||||
|
"include": ["./src/**/*"]
|
||||||
|
}
|
@ -3,3 +3,4 @@ packages:
|
|||||||
- 'src/server'
|
- 'src/server'
|
||||||
- 'src/shared'
|
- 'src/shared'
|
||||||
- 'website'
|
- 'website'
|
||||||
|
- 'packages/*'
|
||||||
|
Loading…
Reference in New Issue
Block a user