@dp-bohrium/widget-sdk 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@dp-bohrium/widget-sdk",
3
+ "version": "0.0.1",
4
+ "description": "Widget developer SDK runtime client for Bohrium Widget Platform.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "engines": {
8
+ "node": ">=20"
9
+ },
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
14
+ },
15
+ "./testing": {
16
+ "types": "./dist/compatibility/testing.d.ts",
17
+ "import": "./dist/compatibility/testing.js"
18
+ },
19
+ "./runtime": {
20
+ "types": "./dist/runtime/index.d.ts",
21
+ "import": "./dist/runtime/index.js"
22
+ },
23
+ "./package.json": "./package.json"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md",
28
+ "LICENSE"
29
+ ],
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "dependencies": {
34
+ "@dp-bohrium/widget-contracts": "0.0.1"
35
+ },
36
+ "devDependencies": {
37
+ "@biomejs/biome": "^2.2.0",
38
+ "@vitest/coverage-v8": "^3.2.4",
39
+ "@types/node": "^22.15.0",
40
+ "tsdown": "0.22.14",
41
+ "typescript": "^5.8.3",
42
+ "vitest": "^3.2.4",
43
+ "@dp-bohrium/widget-contract-testing": "0.1.0-alpha.0"
44
+ },
45
+ "scripts": {
46
+ "build": "tsdown && tsc -b tsconfig.build.json --force --pretty false",
47
+ "typecheck": "tsc --noEmit",
48
+ "test": "vitest run",
49
+ "test:coverage": "vitest run --coverage --coverage.thresholds.lines=80 --coverage.thresholds.functions=80 --coverage.thresholds.statements=80 --coverage.thresholds.branches=70",
50
+ "test:watch": "vitest",
51
+ "fixture:build": "tsdown --config minimal-widget.tsdown.config.ts",
52
+ "fixture:pack": "node ../../scripts/fixtures/pack-minimal-sdk-widget.mjs",
53
+ "fixture:pack:test": "node --test ../../scripts/fixtures/pack-minimal-sdk-widget.test.mjs",
54
+ "fixture:check": "node ../../scripts/fixtures/check-minimal-sdk-widget.mjs",
55
+ "lint": "biome check src test",
56
+ "format:check": "biome check --linter-enabled=false src test",
57
+ "package:contents": "node ../../scripts/quality/check-sdk-package-contents.mjs ../../.artifacts/dp-bohrium-widget-sdk-*.tgz",
58
+ "consumer:canary": "CONSUMER_PACKAGE_NAME=@dp-bohrium/widget-sdk node ../../scripts/consumer/consumer-install.mjs ../../.artifacts/dp-bohrium-widget-sdk-*.tgz ../../.artifacts/dp-bohrium-widget-contracts-*.tgz",
59
+ "release:check-version": "WIDGET_PACKAGE_NAME=@dp-bohrium/widget-sdk node ../../scripts/release/check-registry-version.mjs",
60
+ "check": "pnpm typecheck && pnpm test && pnpm fixture:build && pnpm fixture:pack:test && pnpm lint && pnpm format:check && pnpm --filter @dp-bohrium/widget-contract-testing build && pnpm build && pnpm fixture:pack && pnpm fixture:check"
61
+ }
62
+ }