add native and web sdks
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"files": [
|
||||
"base.json"
|
||||
]
|
||||
"base.json",
|
||||
"sdk.json",
|
||||
"tsup.config.json"
|
||||
],
|
||||
"devDependencies": {
|
||||
"tsup": "^7.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
20
tooling/typescript/sdk.json
Normal file
20
tooling/typescript/sdk.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"compilerOptions": {
|
||||
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
||||
"module": "esnext",
|
||||
"target": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"moduleDetection": "force",
|
||||
"composite": false,
|
||||
"strict": true,
|
||||
"downlevelIteration": true,
|
||||
"skipLibCheck": true,
|
||||
"jsx": "react-jsx",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"allowJs": true,
|
||||
"allowImportingTsExtensions": false,
|
||||
"noEmit": false
|
||||
}
|
||||
}
|
||||
8
tooling/typescript/tsup.config.json
Normal file
8
tooling/typescript/tsup.config.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"entry": ["index.ts"],
|
||||
"format": ["cjs", "esm"],
|
||||
"dts": true,
|
||||
"splitting": false,
|
||||
"sourcemap": true,
|
||||
"clean": true
|
||||
}
|
||||
Reference in New Issue
Block a user