mazzaroth-xdr
Version:
Serialization code for mazzaroth.
45 lines (44 loc) • 1.67 kB
JSON
{
"name": "mazzaroth-xdr",
"version": "0.8.2",
"description": "Serialization code for mazzaroth.",
"main": "js-xdr/xdr_generated.js",
"files": [
"js-xdr"
],
"scripts": {
"get-deps": "git clone https://github.com/kochavalabs/xdr-codegen.git || true && npm install",
"clean": "rm -f ./go-xdr/xdr_generated.go && rm -rf ./js-xdr && mkdir js-xdr && cargo clean",
"build-go": "cargo run --manifest-path=xdr-codegen/Cargo.toml ./idl/*.x | gofmt > ./go-xdr/xdr/xdr_generated.go",
"build-rust": "cargo run --manifest-path=xdr-codegen/Cargo.toml ./idl/*.x --language rust --macro | rustfmt > ./rust-xdr/xdr_generated.rs",
"build-js": "cargo run --manifest-path=xdr-codegen/Cargo.toml ./idl/*.x --language js > ./js-xdr/xdr_generated.js && babel js-xdr -d js-xdr",
"build": "npm run clean && npm run get-deps && npm run build-js && npm run build-go && npm run build-rust",
"lint": "./node_modules/.bin/markdownlint README.md",
"write": "npm run build-js && node ./examples/write_file.js"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/kochavalabs/mazzaroth-xdr.git"
},
"keywords": [
"xdr",
"mazzaroth"
],
"author": "KochavaLabs",
"license": "MIT",
"bugs": {
"url": "https://github.com/kochavalabs/mazzaroth-xdr/issues"
},
"homepage": "https://github.com/kochavalabs/mazzaroth-xdr#readme",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"eslint": "^5.16.0"
},
"dependencies": {
"markdownlint-cli": "^0.23.2",
"xdr-js-serialize": "0.3.0"
}
}