{ "name": "cardano-multiplatform-multiera-lib", "version": "5.3.1", "description": "Multiplatform SDK for on-chain Cardano blochain types of all eras (Byron, Shelley, etc)", "keywords": [ "cardano" ], "scripts": { "rust:build-nodejs": "rimraf ./pkg; cross-env WASM_BINDGEN_WEAKREF=1 wasm-pack build --target=nodejs --out-name cardano_multiplatform_multiera_lib; npm run js:ts-json-gen; wasm-pack pack", "rust:build-browser": "rimraf ./pkg; cross-env WASM_BINDGEN_WEAKREF=1 wasm-pack build --target=browser --out-name cardano_multiplatform_multiera_lib; npm run js:ts-json-gen; wasm-pack pack", "rust:build-web": "rimraf ./pkg; cross-env WASM_BINDGEN_WEAKREF=1 wasm-pack build --target=web --out-name cardano_multiplatform_multiera_lib; npm run js:ts-json-gen; wasm-pack pack", "rust:build-asm": "(rimraf ./pkg && wasm-pack build --target=browser --out-name cardano_multiplatform_multiera_lib -- --features wasm; npm run js:ts-json-gen; wasm-pack pack) && npm run asm:build", "asm:build": "../../binaryen/bin/wasm2js ./pkg/cardano_multiplatform_multiera_lib_bg.wasm --output ./pkg/cardano_multiplatform_multiera_lib.asm.js && node ../../scripts/legacy/wasm-to-asm", "rust:publish": "cargo publish", "rust:check-warnings": "(RUSTFLAGS=\"-D warnings\" cargo +stable build)", "rust:test": "cargo test", "js:prepublish": "npm run rust:test && rimraf ./publish && cp -r ./pkg ./publish && cp ../../README.md publish/ && cp ../../LICENSE publish/", "js:test-publish": "npm run rust:build-nodejs && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -nodejs && cd publish", "js:publish-nodejs:prod": "npm run rust:build-nodejs && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -nodejs && cd publish && npm publish --access public", "js:publish-nodejs:beta": "npm run rust:build-nodejs && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -nodejs && cd publish && npm publish --tag beta --access public", "js:publish-browser:prod": "npm run rust:build-browser && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -browser && cd publish && npm publish --access public", "js:publish-browser:beta": "npm run rust:build-browser && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -browser && cd publish && npm publish --tag beta --access public", "js:publish-asm:prod": "npm run rust:build-asm && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -asmjs && cd publish && npm publish --access public", "js:publish-asm:beta": "npm run rust:build-asm && npm run js:prepublish && node ../../scripts/publish-helper multi-era cardano-multiplatform-multiera-lib -asmjs && cd publish && npm publish --tag beta --access public", "js:ts-json-gen": "cd json-gen && cargo +stable run && cd .. && node ../../scripts/run-json2ts.js && node ../../scripts/json-ts-types.js multi-era cardano-multiplatform-multiera-lib" }, "husky": { "hooks": { "pre-push": "npm run rust:test && npm run rust:build-nodejs" } }, "author": "dcSpark", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/dcSpark/cardano-multiplatform-lib.git" }, "devDependencies": { "husky": "4.2.5", "json-schema-to-typescript": "^10.1.5", "rimraf": "3.0.2", "cross-env": "^7.0.3" } }