UNPKG

@gotake/gotake-sdk

Version:

SDK for interacting with GoTake blockchain contracts

82 lines 2.78 kB
{ "name": "@gotake/gotake-sdk", "version": "0.0.10", "description": "SDK for interacting with GoTake blockchain contracts", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts" } }, "sideEffects": false, "files": [ "scripts", "dist/cjs", "dist/esm", "dist/types", "README.md" ], "scripts": { "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types && npm run post-build", "post-build": "node scripts/post-build.js", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json", "build:types": "tsc -p tsconfig.json --emitDeclarationOnly", "clean": "rimraf dist", "prebuild": "npm run clean", "verify-browser": "node scripts/verify-browser-compat.js", "test": "jest", "test:unit": "jest --testPathPattern=test/unit", "test:e2e": "jest --testPathPattern=test/e2e --runInBand", "test:integration": "jest --testPathPattern=test/integration --runInBand", "test:coverage": "jest --coverage", "lint": "eslint . --ext .ts", "prepare": "npm run build && npm run verify-browser", "create-tba": "ts-node scripts/create-tba.ts", "verify-sdk": "tsc scripts/verify-sdk.ts", "upload-video": "ts-node scripts/upload-video.ts", "upload-and-mint": "ts-node scripts/upload-and-mint.ts", "mint-to-tba": "ts-node scripts/mint-to-tba.ts", "purchase-content": "ts-node scripts/purchase-content.ts", "manage-content": "ts-node scripts/manage-content.ts", "check-permissions": "ts-node scripts/check-permissions.ts" }, "keywords": [ "blockchain", "ethereum", "web3", "gotake", "tba", "erc6551", "nft", "video-payment", "content-purchase", "streaming" ], "author": "GoTake Team", "license": "MIT", "dependencies": { "ethers": "^5.7.2", "fetch-blob": "^3.2.0", "gotake-contracts": "^0.1.21" }, "optionalDependencies": { "dotenv": "^16.5.0" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.5.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.0", "ts-node": "^10.9.0", "typescript": "^5.0.0" } }