minterjs-tx
Version:
A simple module for creating, manipulating and signing Minter transactions
85 lines (84 loc) • 2.93 kB
JSON
{
"name": "minterjs-tx",
"version": "12.0.3",
"description": "A simple module for creating, manipulating and signing Minter transactions",
"main": "dist/cjs/index.js",
"module": "src/index.js",
"browser": {
"./dist/cjs/index.js": "./dist/index.js"
},
"unpkg": "dist/index.min.js",
"files": [
"/src/",
"/dist/"
],
"scripts": {
"build": "npm run build:browser && npm run build:browser-minify && npm run build:cjs",
"build:browser": "rollup -c build/rollup.config.js",
"build:cjs": "babel src/ -d dist/cjs/ --config-file ./build/babel-cjs.config.js",
"build:browser-minify": "rollup -c build/rollup.uglify.config.js",
"prepublishOnly": "npm run lint && npm run test",
"lint": "eslint --ext .js ./src ./test",
"lint:fix": "eslint --ext .js ./src ./test --fix",
"test": "npm run jest-coverage && npm run build && npm run jest:bundle-browser && npm run jest:bundle-cjs",
"test:bundle-browser": "npm run build:browser && npm run jest:bundle-browser",
"test:bundle-cjs": "npm run build:cjs && npm run jest:bundle-cjs",
"jest": "jest",
"jest:bundle-browser": "jest --config jest-bundle-browser.config.js",
"jest:bundle-cjs": "jest --config jest-bundle-cjs.config.js",
"jest-coverage": "jest --coverage",
"precommit": "echo 'Pre-commit checks...' && npm run lint"
},
"pre-commit": [
"precommit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/MinterTeam/minterjs-tx.git"
},
"keywords": [
"minter",
"blockchain"
],
"author": "MinterTeam (https://github.com/MinterTeam)",
"license": "MIT",
"bugs": {
"url": "https://github.com/MinterTeam/minterjs-tx/issues"
},
"homepage": "https://github.com/MinterTeam/minterjs-tx#readme",
"dependencies": {
"bn.js": "^5.2.1",
"buffer-es6": "https://git@github.com/shrpne/buffer-es6#fix-internal-is-buffer",
"ethereumjs-util": "^7.1.5",
"ethjs-util": "^0.1.6",
"minterjs-util": "^0.24.2",
"rlp": "^2"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"axios": "^1.1.3",
"babel-jest": "^29.3.1",
"coveralls": "^3.1.1",
"eslint": "^8.27.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-unicorn": "^44.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"minterjs-wallet": "^6.2.0",
"pre-commit": "^1.2.2",
"rollup": "^2.79.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2"
}
}