Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion payjoin-ffi/javascript/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ cd rust-payjoin/payjoin-ffi/javascript
# Clean out stale dependencies
npm run clean
npm run clean:test-utils
rm -rf node_modules

# Install system dependencies
cargo install wasm-bindgen-cli
Expand Down
8 changes: 6 additions & 2 deletions payjoin-ffi/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
"releaseTag": "0.2.0+payjoin-1.0.0",
"description": "JavaScript/WASM bindings for rust-payjoin (EXPERIMENTAL)",
"scripts": {
"ubrn:nodejs": "ubrn build web --config ubrn.nodejs.config.yaml --and-generate",
"ubrn:nodejs": "ubrn build web --release --and-generate --config ubrn.nodejs.config.yaml",
"ubrn-debug:nodejs": "ubrn build web --and-generate --config ubrn.nodejs.config.yaml",
"copy-wasm:nodejs": "cp -r src/nodejs/generated/wasm-bindgen dist/nodejs/generated/",
"ubrn:web": "ubrn build web --config ubrn.web.config.yaml --and-generate",
"ubrn:web": "ubrn build web --release --and-generate --config ubrn.web.config.yaml",
"ubrn-debug:web": "ubrn build web --and-generate --config ubrn.web.config.yaml",
"copy-wasm:web": "cp -r src/web/generated/wasm-bindgen dist/web/generated/",
"ubrn": "npm run ubrn:nodejs && npm run ubrn:web",
"ubrn-debug": "npm run ubrn-debug:nodejs && npm run ubrn-debug:web",
"compile": "tsc",
"copy-wasm": "npm run copy-wasm:nodejs && npm run copy-wasm:web",
"build": "npm run ubrn && npm run compile && npm run copy-wasm",
"build-debug": "npm run ubrn-debug && npm run compile && npm run copy-wasm",
"build:test-utils": "cd test-utils && npm install && npx @napi-rs/cli build",
"clean": "rm -rf rust_modules dist src/**/*.js src/*/generated/",
"clean:test-utils": "rm -rf test-utils/target test-utils/index.d.ts test-utils/*.node",
Expand Down
Loading