UNPKG

@scrimmage/rewards

Version:
85 lines (84 loc) 2.1 kB
{ "name": "@scrimmage/rewards", "version": "1.4.0", "description": "Simple rewards for your app or website", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "/dist" ], "scripts": { "test": "jest", "build": "tsc", "build:watch": "tsc --watch", "publish-lib": "npm run build && npm publish", "publish-beta": "npm run build && npm publish --tag beta", "publish-dryrun": "npm run build && npm publish --dry-run", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint ./src" }, "repository": { "type": "git", "url": "git+https://github.com/Scrimmage-co/rewards.git" }, "keywords": [ "scrimmage", "reward", "rewards", "loyalty", "api", "sdk", "typescript" ], "author": "Scrimmage Co <founders@scrimmage.co>", "license": "MIT", "bugs": { "url": "https://github.com/Scrimmage-co/rewards/issues" }, "homepage": "https://github.com/Scrimmage-co/rewards/blob/main/rewards-library/README.md", "devDependencies": { "@jest/globals": "^29.5.0", "@types/jest": "^29.5.1", "dotenv": "^16.3.1", "jest": "^29.5.0", "ts-jest": "^29.1.0", "@types/node": "^18.15.2", "@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/parser": "^5.53.0", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-unused-imports": "^2.0.0", "prettier": "2.8.4", "typescript": "^4.2.3" }, "dependencies": { "@scrimmage/schemas": "^1.7.0", "axios": "^1.5.1", "inversify": "^6.0.2", "reflect-metadata": "^0.1.13" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": "./", "testRegex": ".*\\.test\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "../coverage", "testEnvironment": "node" }, "exports": { ".": { "require": "./dist/cjs-entry.js", "default": "./dist/index.js" } } }