Skip to content

Commit

Permalink
refactor(component-webaudio): build process using banira
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schürmann committed Jan 3, 2025
1 parent 51a4cd6 commit 47a6327
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ clean:
bootstrap:
npm install -ws
npm run build -ws
cd packages/banira-cli && npm install && npm run build && npm link && cd ../..

# Run all tests
test:
Expand Down
5 changes: 4 additions & 1 deletion packages/component-webaudio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"type": "module",
"scripts": {
"test": "node --import tsx --test ./test/*",
"build": "tsc"
"build": "tsc",
"build:banira": "banira compile --project ./tsconfig.json --outDir ./dist ./src/wa-knob.ts",
"predemo": "rm -rf ./demo && mkdir ./demo && cp -r ./dist/ ./demo/dist/",
"demo": "banira doc ./src/wa-knob.ts > ./demo/index.html"
},
"keywords": [
"web-components",
Expand Down

0 comments on commit 47a6327

Please sign in to comment.