UNPKG

@q-dev/q-ts-gdk-sdk

Version:

Typescript Library to interact with GDK Contracts

70 lines (69 loc) 2.39 kB
{ "name": "@q-dev/q-ts-gdk-sdk", "version": "0.1.0", "description": "Typescript Library to interact with GDK Contracts", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc --build tsconfig.json", "docgen": "typedoc --tsconfig ./tsconfig.json", "prepare": "npm run generate-types && npm run copy-version && npm run build", "postbuild": "npm run copy-json && npm run copy-types", "pre-commit": "npm run lint-fix && npm run test:ci", "test": "mocha test/", "test:ci": "mocha test/ --forbid-only", "version": "changelog-cli release && git add .", "postversion": "git push && git push --tags", "patch-version": "npm version patch -m \"Upgrade to %s\" && npm run copy-version", "copy-json": "cpy . --cwd=src --parents '**/*.json' ../lib", "copy-types": "cpy . --cwd=src --parents '**/*.d.ts' ../lib", "copy-version": "cpy --rename=version.json package.json ./src/utils", "lint": "prettier -c \"./[a-zA-Z0-9.]+(?!-lock).json\" && prettier -c \"./**/*.ts\"", "lint-fix": " npm run lint-ts-fix && npm run lint-json-fix", "lint-json-fix": "prettier --write \"./[a-zA-Z0-9.]+(?!-lock).json\"", "lint-ts-fix": "prettier --write \"./**/*.ts\"", "generate-types": "typechain --target=web3-v1 --out-dir src/web3-contracts 'src/abi/*.json'", "generate-types-win": "typechain --target=web3-v1 --out-dir src/web3-contracts src/abi/*.json" }, "keywords": [ "Q", "GDK", "Blockchain", "Typescript" ], "publishConfig": { "access": "public" }, "files": [ "lib/**/*" ], "author": "Q Development AG", "license": "LGPL-3.0", "dependencies": { "axios": "^1.3.4", "bn.js": "^5.2.1", "dotenv": "^16.0.3", "web3": "^1.8.2" }, "devDependencies": { "@q-dev/changelog-cli": "^0.1.1", "@truffle/hdwallet-provider": "^2.1.7", "@typechain/web3-v1": "^6.0.2", "@types/bn.js": "^5.1.1", "@types/chai": "^4.3.4", "@types/ethereum-protocol": "^1.0.2", "@types/mocha": "^10.0.1", "@types/node": "^18.14.6", "@types/web3": "1.2.2", "bignumber.js": "^9.1.1", "chai": "^4.3.7", "cpy-cli": "^4.2.0", "mocha": "^10.2.0", "prettier": "^2.8.4", "ts-node": "^10.9.1", "typechain": "^8.1.0", "typedoc": "^0.23.26", "typedoc-plugin-replace-text": "^2.1.0", "typescript": "^4.9.5" } }