|
1 | 1 | { |
2 | 2 | "name": "cardano-serialization-lib", |
3 | | - "version": "9.1.0", |
| 3 | + "version": "9.1.2", |
4 | 4 | "description": "(De)serialization functions for the Cardano blockchain along with related utility functions", |
5 | 5 | "scripts": { |
6 | | - "rust:build-nodejs": "rimraf ./rust/pkg && cd rust; wasm-pack build --target=nodejs; wasm-pack pack; cd .. && npm run js:flowgen", |
7 | | - "rust:build-browser": "rimraf ./rust/pkg && cd rust; wasm-pack build --target=browser; wasm-pack pack; cd .. && npm run js:flowgen", |
8 | | - "rust:build-web": "rimraf ./rust/pkg && cd rust; wasm-pack build --target=web; wasm-pack pack; cd .. && npm run js:flowgen", |
9 | | - "rust:build-asm": "rimraf ./rust/pkg && cd rust; wasm-pack build --target=browser --release; wasm-pack pack && npm run asm:build && npm run js:flowgen", |
| 6 | + "rust:build-nodejs": "(rimraf ./rust/pkg && cd rust; wasm-pack build --target=nodejs; wasm-pack pack) && npm run js:flowgen", |
| 7 | + "rust:build-browser": "(rimraf ./rust/pkg && cd rust; wasm-pack build --target=browser; wasm-pack pack) && npm run js:flowgen", |
| 8 | + "rust:build-web": "(rimraf ./rust/pkg && cd rust; wasm-pack build --target=web; wasm-pack pack) && npm run js:flowgen", |
| 9 | + "rust:build-asm": "(rimraf ./rust/pkg && cd rust; wasm-pack build --target=browser; wasm-pack pack) && npm run asm:build && npm run js:flowgen", |
10 | 10 | "rust:publish": "cd rust && cargo publish && cd ../", |
11 | 11 | "asm:build": "./binaryen/bin/wasm2js ./rust/pkg/cardano_serialization_lib_bg.wasm --output ./rust/pkg/cardano_serialization_lib.asm.js && node ./scripts/wasm-to-asm", |
12 | | - "rust:test": "cd rust; cargo test; cd ..", |
| 12 | + "rust:test": "(cd rust; cargo test)", |
13 | 13 | "js:flowgen": "flowgen ./rust/pkg/cardano_serialization_lib.d.ts -o ./rust/pkg/cardano_serialization_lib.js.flow --add-flow-header", |
14 | 14 | "js:prepublish": "npm run rust:test && rimraf ./publish && cp -r ./rust/pkg ./publish && cp README.md publish/ && cp LICENSE publish/", |
15 | 15 | "js:publish-nodejs": "npm run rust:build-nodejs && npm run js:prepublish && node ./scripts/publish-helper -nodejs && cd publish && npm publish --access public", |
|
0 commit comments