{ "name": "cardano-multiplatform-lib", "version": "6.0.1", "description": "Cardano Multiplatform SDK for core Cardano blockchain functionality", "keywords": [ "cardano" ], "scripts": { "rust:build-nodejs": "rimraf ./pkg; cross-env WASM_BINDGEN_WEAKREF=1 wasm-pack build --target=nodejs; 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; 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; npm run js:ts-json-gen; wasm-pack pack", "rust:build-asm": "(rimraf ./pkg && wasm-pack build --target=browser -- --features wasm; npm run js:ts-json-gen; wasm-pack pack) && npm run asm:build", "asm:build": "../../binaryen/bin/wasm2js ./pkg/cardano_multiplatform_lib_bg.wasm --output ./pkg/cardano_multiplatform_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 cml cardano-multiplatform-lib -nodejs && cd publish", "js:publish-nodejs:prod": "npm run rust:build-nodejs && npm run js:prepublish && node ../../scripts/publish-helper cml cardano-multiplatform-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 cml cardano-multiplatform-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 cml cardano-multiplatform-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 cml cardano-multiplatform-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 cml cardano-multiplatform-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 cml cardano-multiplatform-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 cml cardano-multiplatform-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" } }