add native and web sdks

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-11-06 08:52:58 +01:00
parent ce26b24c1b
commit 4ddafcad07
33 changed files with 812 additions and 68 deletions

View File

@@ -17,6 +17,8 @@
"@mixan/prettier-config": "workspace:*",
"@mixan/tsconfig": "workspace:*",
"@types/eslint": "^8.44.2",
"@types/node": "^18.16.0",
"@types/semver": "^7.5.4",
"eslint": "^8.48.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2"

View File

@@ -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"
}
}

View 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
}
}

View File

@@ -0,0 +1,8 @@
{
"entry": ["index.ts"],
"format": ["cjs", "esm"],
"dts": true,
"splitting": false,
"sourcemap": true,
"clean": true
}