UNPKG

setlistfm-ts

Version:

A TypeScript client for the setlist.fm API

97 lines 3.08 kB
{ "name": "setlistfm-ts", "version": "0.5.0", "description": "A TypeScript client for the setlist.fm API", "author": "tkozzer <tkoz.dev@gmail.com>", "license": "MIT", "homepage": "https://github.com/tkozzer/setlistfm-ts#readme", "repository": { "type": "git", "url": "git+https://github.com/tkozzer/setlistfm-ts.git" }, "bugs": { "url": "https://github.com/tkozzer/setlistfm-ts/issues" }, "keywords": [ "setlist.fm", "api", "music", "client", "sdk", "typescript" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "LICENSE", "README.md", "dist" ], "dependencies": { "axios": "^1.9.0", "zod": "^3.25.48" }, "devDependencies": { "@antfu/eslint-config": "^4.13.2", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.1", "@types/node": "^22.15.29", "@vitest/coverage-v8": "^3.2.0", "dotenv": "^16.5.0", "eslint": "^9.28.0", "eslint-plugin-format": "^1.0.1", "husky": "^9.1.7", "lint-staged": "^16.1.0", "rollup": "^4.27.4", "rollup-plugin-dts": "^6.1.1", "tslib": "^2.8.1", "tsx": "^4.19.4", "typescript": "^5.8.3", "vitest": "^3.2.0" }, "lint-staged": { "src/**/*.ts": [ "pnpm lint", "bash -c 'pnpm type-check'", "bash -c 'pnpm test'" ], "examples/**/*.ts": [ "pnpm lint" ], "*.ts": [ "pnpm lint", "bash -c 'pnpm type-check'" ] }, "scripts": { "build": "tsx node_modules/rollup/dist/bin/rollup -c rollup.config.ts", "build:tsc": "tsc -p tsconfig.build.json", "build:minified": "tsx node_modules/rollup/dist/bin/rollup -c rollup.config.ts --environment NODE_ENV:production", "build:all": "pnpm build && pnpm build:minified && pnpm build:umd", "build:umd": "tsx node_modules/rollup/dist/bin/rollup -c rollup.config.ts --environment BUILD_FORMAT:umd", "build:umd:minified": "tsx node_modules/rollup/dist/bin/rollup -c rollup.config.ts --environment BUILD_FORMAT:umd,NODE_ENV:production", "build:analyze": "pnpm build:minified && echo '📊 Bundle Size Analysis:' && ls -lh dist/index.* | grep -E '\\.(js|cjs)$'", "build:verify": "pnpm build:minified && pnpm test:build", "test": "vitest run", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "test:build": "vitest run tests/buildVerification.test.ts", "lint": "eslint src examples --ext .ts", "lint:fix": "eslint src examples --ext .ts --fix", "check": "pnpm type-check && pnpm lint && pnpm test", "type-check": "tsc --noEmit", "type-check:publish": "tsc -p tsconfig.publish.json --noEmit", "lint:src": "eslint src --ext .ts", "type-check:verbose": "tsc --noEmit --listFiles --extendedDiagnostics" } }