UNPKG

@yeepay/yop-typescript-sdk

Version:

TypeScript SDK for interacting with YOP (YeePay Open Platform)

74 lines (73 loc) 1.82 kB
{ "name": "@yeepay/yop-typescript-sdk", "version": "4.0.12", "description": "TypeScript SDK for interacting with YOP (YeePay Open Platform)", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "clean": "rimraf dist", "tsc": "tsc", "build:watch": "tsc --watch", "copy-assets": "copyfiles -u 1 \"src/assets/**\" dist", "build": "npm run clean && npm run tsc && npm run copy-assets", "test": "NODE_OPTIONS=--experimental-vm-modules jest", "lint": "eslint src/**/*.ts", "prepublishOnly": "npm run build" }, "dependencies": { "md5": "^2.3.0", "urlsafe-base64": "^1.0.0" }, "devDependencies": { "@types/dotenv": "^6.1.1", "@types/jest": "^29.5.14", "@types/md5": "^2.3.5", "@types/node": "^18.19.86", "@types/rimraf": "^3.0.2", "@types/urlsafe-base64": "^1.0.31", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "copyfiles": "^2.4.1", "dotenv": "^16.5.0", "eslint": "^8.57.1", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.2.6", "jest": "^29.0.0", "prettier": "^3.5.3", "rimraf": "^6.0.1", "ts-jest": "^29.0.0", "typescript": "^5.8.3" }, "files": [ "dist" ], "keywords": [ "yeepay", "yop", "sdk", "typescript", "payment" ], "author": "dreambt <dreambt@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git@github.com:yop-platform/yop-typescript-sdk.git" }, "publishConfig": { "access": "public" }, "engines": { "node": ">=18.0.0" }, "jest": { "preset": "ts-jest/presets/default-esm", "moduleNameMapper": { "^(\\.{1,2}/.*)\\.js$": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ] } }