UNPKG

@ardier16/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

66 lines (65 loc) 2.23 kB
{ "name": "@ardier16/q-js-sdk", "version": "1.4.1", "description": "Typescript Library to interact with Q System Contracts", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc --build tsconfig.json", "postbuild": "npm run copy-json && npm run copy-types", "generate-types": "typechain --target=web3-v1 --outDir src/web3-contracts 'src/abi/*.json'", "generate-types-win": "typechain --target=web3-v1 --outDir src/web3-contracts src/abi/*.json", "lint": "eslint --ext .ts .", "pre-commit": "npm run abi-conformity-check && npm run lint -- --fix && npm run test:ci", "test": "mocha test/", "test:ci": "mocha test/ --forbid-only", "prepare": "npm run generate-types && npm run copy-version && npm run build", "patch-version": "npm version patch -m \"Upgrade to %s\" && npm run copy-version", "postversion": "git push && git push --tags", "copy-version": "cpy --rename=version.json package.json ./src/utils", "copy-json": "cpy --cwd=src --parents '**/*.json' ../lib", "copy-types": "cpy --cwd=src --parents '**/*.d.ts' ../lib", "docgen": "typedoc --tsconfig ./tsconfig.json", "abi-conformity-check": "python3 ./checkAbiConformity.py src/abi/*.json" }, "keywords": [ "Q", "Blockchain", "Typescript" ], "publishConfig": { "access": "public" }, "files": [ "lib/**/*" ], "author": "Q Development AG", "license": "LGPL-3.0", "dependencies": { "@truffle/hdwallet-provider": "^1.5.0", "axios": "^0.26.1", "bignumber.js": "^9.0.0", "bn.js": "^5.2.1", "web3": "^1.7.0" }, "devDependencies": { "@typechain/web3-v1": "^2.2.0", "@types/bn.js": "^5.1.0", "@types/chai": "^4.2.21", "@types/ethereum-protocol": "^1.0.2", "@types/mocha": "^8.2.3", "@types/node": "^12.20.16", "@types/web3": "1.0.20", "@typescript-eslint/eslint-plugin": "^4.28.2", "@typescript-eslint/parser": "^4.28.2", "chai": "^4.3.4", "cpy-cli": "^3.1.1", "eslint": "^7.30.0", "mocha": "^8.4.0", "ts-node": "^9.1.1", "typechain": "^4.0.3", "typedoc": "^0.22.13", "typedoc-plugin-replace-in-comments": "^3.1.0", "typescript": "^4.6.3" } }