UNPKG

minter-js-sdk

Version:
107 lines (106 loc) 3.97 kB
{ "name": "minter-js-sdk", "version": "0.46.2", "description": "JS SDK for Minter Blockchain", "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:browser-minify": "rollup -c build/rollup.uglify.config.js", "build:cjs": "rollup -c build/rollup.cjs.config.js", "prepublishOnly": "npm run lint && npm run test:light", "lint": "eslint --ext .js ./src ./test", "lint:fix": "eslint --ext .js ./src ./test --fix", "tsc": "tsc --project tsconfig.json", "test": "npm run test:src && npm run build && npm run jest:bundle-browser && npm run jest:bundle-cjs", "test:light": "npm run test:src && npm run build && npm run jest:bundle-browser-unit && npm run jest:bundle-cjs-unit", "test:src": "npm run jest-coverage", "test:bundle-browser": "npm run build:browser && npm run jest:bundle-browser", "test:bundle-cjs": "npm run build:cjs && npm run jest:bundle-cjs", "test:bundle-browser-unit": "npm run build:browser && npm run jest:bundle-browser-unit", "test:bundle-cjs-unit": "npm run build:cjs && npm run jest:bundle-cjs-unit", "jest:src": "jest", "jest:src-unit": "jest --testPathIgnorePatterns='<rootDir>/test/api'", "jest:src-e2e": "jest --testPathPattern='api/'", "jest:bundle-browser": "jest --config jest-bundle-browser.config.js", "jest:bundle-cjs": "jest --config jest-bundle-cjs.config.js", "jest:bundle-browser-unit": "jest --config jest-bundle-browser.config.js --testPathIgnorePatterns='<rootDir>/test/api'", "jest:bundle-cjs-unit": "jest --config jest-bundle-cjs.config.js --testPathIgnorePatterns='<rootDir>/test/api'", "jest-coverage": "jest --coverage", "precommit": "echo 'Pre-commit checks...' && npm run lint" }, "pre-commit": [ "precommit" ], "repository": { "type": "git", "url": "git+https://github.com/MinterTeam/minter-js-sdk.git" }, "keywords": [ "minter", "blockchain", "sdk" ], "author": "MinterTeam (https://github.com/MinterTeam)", "license": "MIT", "bugs": { "url": "https://github.com/MinterTeam/minter-js-sdk/issues" }, "homepage": "https://github.com/MinterTeam/minter-js-sdk#readme", "dependencies": { "@babel/runtime": "^7.22.3", "axios": "^1.4.0", "big.js": "^6.2.1", "bn.js": "^5.2.1", "ethereum-cryptography": "0.1.3", "ethereumjs-util": "^7.1.5", "ethjs-util": "^0.1.6", "lodash-es": "^4.17.21", "minterjs-tx": "^12.0.3", "minterjs-util": "^0.25.1", "minterjs-wallet": "^6.2.0", "qs": "^6.11.2", "rlp": "^2", "secp256k1": "^4.0.3" }, "devDependencies": { "@babel/cli": "^7.21.5", "@babel/core": "^7.22.1", "@babel/eslint-parser": "^7.21.8", "@babel/plugin-transform-runtime": "^7.22.4", "@babel/preset-env": "^7.22.4", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-terser": "^0.4.3", "babel-jest": "^29.5.0", "coveralls": "^3.1.1", "eslint": "^8.41.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-import-resolver-alias": "^1.1.2", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-jsdoc": "^45.0.0", "eslint-plugin-security": "^1.7.1", "eslint-plugin-unicorn": "^47.0.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "pre-commit": "^1.2.2", "rollup": "^3.23.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-polyfill-node": "^0.12.0", "rollup-plugin-rename": "^1.0.1", "rollup-plugin-visualizer": "^5.9.0", "typescript": "^5.0.4" } }