UNPKG

near-protocol-rewards

Version:

A transparent, metric-based rewards system for NEAR projects

80 lines (79 loc) 2.19 kB
{ "name": "near-protocol-rewards", "version": "1.1.2", "description": "A transparent, metric-based rewards system for NEAR projects", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "bin": { "near-protocol-rewards": "dist/src/cli.js" }, "scripts": { "build": "npm run clean && tsc -p tsconfig.json && chmod +x ./dist/src/cli.js", "clean": "rm -rf dist", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:unit": "jest \"tests/unit/.*\\.test\\.ts$\"", "test:unit:watch": "jest \"tests/unit/.*\\.test\\.ts$\" --watch", "lint": "eslint src --ext .ts", "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"", "prepare": "npm run build", "prepublishOnly": "npm run lint && npm run test:unit", "collect-rewards": "ts-node scripts/collect-rewards.ts" }, "files": [ "dist", "docs" ], "keywords": [ "near", "protocol", "rewards", "github", "metrics" ], "author": "NEAR Protocol", "license": "MIT", "dependencies": { "@octokit/rest": "^19.0.0", "@types/node-fetch": "2.6.12", "axios": "^1.6.7", "commander": "11.1.0", "dotenv": "^16.0.0", "near-api-js": "5.1.0", "near-lake-framework": "2.0.0", "near-protocol-rewards": "0.3.1", "node-fetch": "3.3.2", "pg": "^8.11.3", "zod": "3.23.8" }, "devDependencies": { "@types/express": "^4.17.0", "@types/jest": "29.5.14", "@types/node": "^20.0.0", "@types/pg": "^8.10.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "29.7.0", "prettier": "^3.1.0", "ts-jest": "29.2.5", "ts-node": "^10.9.2", "typedoc": "^0.25.0", "typescript": "^5.0.0" }, "engines": { "node": ">=14.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/jbarnes850/near-protocol-rewards.git" }, "bugs": { "url": "https://github.com/jbarnes850/near-protocol-rewards/issues" }, "homepage": "https://github.com/jbarnes850/near-protocol-rewards#readme", "publishConfig": { "access": "public" } }