UNPKG

splitwise

Version:

A TypeScript SDK for the Splitwise API.

62 lines (61 loc) 1.56 kB
{ "name": "splitwise", "version": "2.0.0", "description": "A TypeScript SDK for the Splitwise API.", "type": "module", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } } }, "repository": { "type": "git", "url": "https://github.com/keriwarr/splitwise.git" }, "keywords": [ "splitwise", "typescript", "sdk", "splitwise-api" ], "author": "Keri Warr", "license": "MIT", "bugs": { "url": "https://github.com/keriwarr/splitwise/issues" }, "homepage": "https://github.com/keriwarr/splitwise#readme", "engines": { "node": ">=18.0.0" }, "scripts": { "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", "clean": "rm -rf dist", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run clean && npm run build", "fixtures:generate": "tsx scripts/generate-fixtures.ts" }, "devDependencies": { "@vitest/coverage-v8": "^3.1.0", "tsx": "^4.19.0", "typescript": "^5.7.0", "vitest": "^3.1.0" }, "files": [ "dist" ] }