@hussmartinez/audio-sdk 0.0.0-stage → 0.2.0

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 CHANGED
@@ -1,6 +1,113 @@
1
1
  {
2
2
  "name": "@hussmartinez/audio-sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "description": "Client-side audio SDK: a headless core, a React editor and a custom element. Audio never leaves the device.",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/ie-huss-martinez/audio-sdk.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/ie-huss-martinez/audio-sdk/issues"
12
+ },
13
+ "homepage": "https://github.com/ie-huss-martinez/audio-sdk#readme",
14
+ "keywords": [
15
+ "audio",
16
+ "audio-editor",
17
+ "web-audio",
18
+ "react",
19
+ "web-component",
20
+ "client-side"
21
+ ],
22
+ "type": "module",
23
+ "sideEffects": [
24
+ "**/*.css"
25
+ ],
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "default": "./dist/index.js"
30
+ },
31
+ "./react": {
32
+ "types": "./dist/react.d.ts",
33
+ "default": "./dist/react.js"
34
+ },
35
+ "./element": {
36
+ "types": "./dist/element.d.ts",
37
+ "default": "./dist/element.js"
38
+ },
39
+ "./styles.css": "./dist/styles.css",
40
+ "./package.json": "./package.json"
41
+ },
42
+ "files": [
43
+ "dist"
44
+ ],
45
+ "engines": {
46
+ "node": ">=24"
47
+ },
48
+ "dependencies": {
49
+ "@hussmartinez/sdk-core": "^0.4.1"
50
+ },
51
+ "peerDependencies": {
52
+ "react": ">=18.3",
53
+ "react-dom": ">=18.3"
54
+ },
55
+ "peerDependenciesMeta": {
56
+ "react": {
57
+ "optional": true
58
+ },
59
+ "react-dom": {
60
+ "optional": true
61
+ }
62
+ },
63
+ "devDependencies": {
64
+ "@arethetypeswrong/cli": "^0.18.5",
65
+ "@biomejs/biome": "^2.6.5",
66
+ "@changesets/changelog-github": "^1.0.1",
67
+ "@changesets/cli": "^3.0.3",
68
+ "@commitlint/cli": "^21.2.4",
69
+ "@hussmartinez/sdk-config": "^0.5.0",
70
+ "@microsoft/api-extractor": "^7.60.1",
71
+ "@size-limit/file": "^14.3.0",
72
+ "@types/node": "^24.19.2",
73
+ "@types/react": "^19.3.0",
74
+ "@types/react-dom": "^19.3.0",
75
+ "@vitest/browser-playwright": "5.1.0",
76
+ "dependency-cruiser": "^18.7.2",
77
+ "ajv": "^8.20.0",
78
+ "fast-check": "^4.10.2",
79
+ "husky": "^9.1.7",
80
+ "lint-staged": "^17.6.0",
81
+ "playwright": "^1.64.1",
82
+ "publint": "^0.3.25",
83
+ "react": "^19.3.0",
84
+ "react-dom": "^19.3.0",
85
+ "secretlint": "^13.1.0",
86
+ "size-limit": "^14.3.0",
87
+ "stylelint": "^18.0.0",
88
+ "typescript": "^6.0.3",
89
+ "vite": "^8.3.6",
90
+ "vitest": "^5.1.0"
91
+ },
92
+ "scripts": {
93
+ "changeset": "changeset",
94
+ "lint": "biome check .",
95
+ "lint:css": "stylelint \"**/*.css\" --allow-empty-input",
96
+ "lint:deps": "hm-lint-deps src",
97
+ "check:single-copy": "hm-check-single-copy",
98
+ "conformance:update": "vitest run --project unit test/conformance --update",
99
+ "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.test.json",
100
+ "build": "vite build && pnpm check:api",
101
+ "test": "vitest run --project unit",
102
+ "test:browser": "vitest run --project browser",
103
+ "test:browser:all": "vitest run --project browser --mode all-browsers",
104
+ "build:examples": "pnpm --filter @hussmartinez/audio-sdk-example-vite build",
105
+ "test:e2e": "pnpm --filter @hussmartinez/audio-sdk-e2e test:e2e",
106
+ "check:size": "size-limit",
107
+ "check:api": "tsc -p tsconfig.build.json && api-extractor run && api-extractor run -c api-extractor.react.json && api-extractor run -c api-extractor.element.json",
108
+ "check:package": "publint run --pack pnpm --strict && attw --pack . --profile esm-only --exclude-entrypoints ./styles.css",
109
+ "api:update": "tsc -p tsconfig.build.json && api-extractor run --local && api-extractor run -c api-extractor.react.json --local && api-extractor run -c api-extractor.element.json --local",
110
+ "verify": "pnpm lint && pnpm lint:css && pnpm typecheck && pnpm lint:deps && pnpm check:single-copy && pnpm build && pnpm test && pnpm test:browser && pnpm build:examples && pnpm test:e2e && pnpm check:size && pnpm check:api && pnpm check:package",
111
+ "verify:fast": "pnpm typecheck && pnpm test && pnpm lint:deps && pnpm check:single-copy && pnpm check:api"
112
+ }
6
113
  }