chore(build): add build script for custom registry
This commit is contained in:
parent
5e354fc7ae
commit
911c8987b4
1 changed files with 3 additions and 0 deletions
3
build.sh
Executable file
3
build.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
wasm-pack build --scope duskflower --release --target bundler
|
||||
jq '. |= . + {"publishConfig": {"registry": "https://git.duskflower.dev/api/packages/duskflower/npm/"}}' pkg/package.json > pkg/package.json.tmp && mv pkg/package.json.tmp pkg/package.json
|
Loading…
Add table
Add a link
Reference in a new issue