UNPKG

@q-dev/q-js-sdk

Version:

Typescript Library to interact with Q System Contracts

67 lines (66 loc) 2.29 kB
{ "name": "@q-dev/q-js-sdk", "version": "2.0.0-rc.21", "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=ethers-v5 --out-dir src/ethers-contracts 'src/abi/*.json'", "generate-types-win": "typechain --target=ethers-v5 --out-dir src/ethers-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", "version": "changelog-cli release && git add .", "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": { "axios": "^0.26.1", "bignumber.js": "^9.0.0", "bn.js": "^5.2.1", "ethers": "^5.7.2", "lodash": "^4.17.21" }, "devDependencies": { "@q-dev/changelog-cli": "^0.1.1", "@typechain/ethers-v5": "^10.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", "@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": "^10.9.1", "typechain": "^8.1.1", "typedoc": "^0.22.13", "typedoc-plugin-replace-in-comments": "^3.1.0", "typescript": "^4.6.3" } }