diamante-js-xdr
Version:
Read/write XDR encoded data structures (RFC 4506)
82 lines (81 loc) • 2.48 kB
JSON
{
"name": "diamante-js-xdr",
"version": "1.0.1",
"description": "Read/write XDR encoded data structures (RFC 4506)",
"main": "lib/xdr.js",
"browser": "dist/xdr.js",
"module": "src/index.js",
"scripts": {
"build": "yarn run build:browser && yarn run build:node",
"build:browser": "webpack --mode=production --config ./webpack.config.js",
"build:node": "webpack --mode=development --config ./webpack.config.js",
"test:node": "yarn run build:node && mocha",
"test:browser": "yarn run build:browser && karma start",
"test": "yarn run test:node && yarn run test:browser",
"test-generate": "bundle exec xdrgen -o generated -n test -l javascript examples/test.x",
"fmt": "prettier --write '**/*.js'",
"prepare": "yarn build",
"clean": "rm -rf lib/ dist/"
},
"repository": {
"type": "git",
"url": "https://github.com/diamcircle/js-xdr.git"
},
"keywords": [],
"author": "Diamcircle Development Foundation <hello@diamcircle.org>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/diamcircle/js-xdr/issues"
},
"homepage": "https://github.com/diamcircle/js-xdr",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,json}": [
"yarn fmt",
"git add"
]
},
"mocha": {
"require": [
"@babel/register",
"./test/setup.js"
],
"recursive": true,
"ui": "bdd"
},
"devDependencies": {
"@babel/core": "^7.24.1",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-env": "^7.24.1",
"@babel/register": "^7.23.7",
"babel-loader": "^9.1.3",
"buffer": "^6.0.3",
"chai": "^4.3.10",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.1",
"karma-sinon-chai": "^2.0.2",
"karma-webpack": "^5.0.1",
"lint-staged": "13.2.2",
"mocha": "^10.3.0",
"prettier": "^2.8.7",
"sinon": "^15.2.0",
"sinon-chai": "^3.7.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.3",
"webpack-cli": "^5.0.2"
}
}