Skip to content

Commit

Permalink
Fix PCM player build (#115)
Browse files Browse the repository at this point in the history
Add missing `prepare` scripts so that clean installs build the necessary
dependencies
  • Loading branch information
mnemitz authored Jan 30, 2025
1 parent 9bcfc55 commit f550d9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/flow-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"typings": "dist/index.d.ts",
"scripts": {
"build": "pnpm rollup -c",
"prepare": "pnpm build",
"format": "biome format --write .",
"lint": "biome lint --write .",
"test": "node --import tsx ./test/index.test.ts"
Expand Down
3 changes: 2 additions & 1 deletion packages/web-pcm-player-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"type": "module",
"repository": "https://github.com/speechmatics/speechmatics-js-sdk/tree/main/packages/web-pcm-player-react",
"scripts": {
"build": "rm -rf dist/ && pnpm -C ../web-pcm-player build && pnpm rollup -c"
"build": "rm -rf dist/ && pnpm -C ../web-pcm-player build && pnpm rollup -c",
"prepare": "pnpm build"
},
"keywords": ["PCM", "audio", "player", "React", "browser"],
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/web-pcm-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"type": "module",
"repository": "https://github.com/speechmatics/speechmatics-js-sdk/tree/main/packages/web-pcm-player",
"scripts": {
"build": "rm -rf dist/ && pnpm rollup -c"
"build": "rm -rf dist/ && pnpm rollup -c",
"prepare": "pnpm build"
},
"keywords": ["web", "PCM", "audio", "player"],
"license": "MIT",
Expand Down

0 comments on commit f550d9e

Please sign in to comment.