UNPKG

tmdbrjs

Version:

A TypeScript wrapper for The Movie Database (TMDB) API

123 lines (122 loc) 3.26 kB
{ "name": "tmdbrjs", "version": "1.8.1", "description": "A TypeScript wrapper for The Movie Database (TMDB) API", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "engines": { "node": ">=22" }, "type": "module", "types": "./dist/index.d.mts", "scripts": { "clean": "rm -rf dist || true", "build": "tsdown", "check-types": "tsc --noEmit --pretty", "validate-package": "attw --pack . && publint", "commit": "cz", "dev": "tsdown --watch", "format": "prettier --write \"src/**/*.(js|ts)\"", "lint": "eslint src", "lint:fix": "eslint src --fix", "test": "vitest --coverage run", "test:e2e": "vitest --config vitest.e2e.config.ts run", "test:e2e:watch": "vitest --config vitest.e2e.config.ts", "prepare": "npm run build", "prepublishOnly": "npm run lint && npm run validate-package", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "check-api": "NODE_OPTIONS=\"--loader ts-node/esm\" ts-node --project scripts/tsconfig.json scripts/check-api-compatibility.ts", "validate-types": "tsc --noEmit" }, "repository": { "type": "git", "url": "git+https://github.com/foestauf/TMDBrJS.git" }, "keywords": [ "tmdb", "themoviedb", "api", "typescript", "movies", "tv", "people" ], "author": "Robert McKee", "license": "MIT", "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@commitlint/cli": "^20.0.0", "@commitlint/config-conventional": "^20.0.0", "@eslint/js": "^9.29.0", "@types/jest": "30.0.0", "@types/node": "^24.0.0", "@types/node-fetch": "^2.6.11", "@typescript-eslint/eslint-plugin": "8.47.0", "@typescript-eslint/parser": "8.47.0", "@vitest/coverage-v8": "^4.0.0", "commitizen": "^4.3.0", "cz-conventional-changelog": "^3.3.0", "dotenv": "^17.0.0", "eslint": "9.39.1", "eslint-plugin-jest": "29.1.0", "husky": "^9.0.0", "lint-staged": "^16.0.0", "node-fetch": "^3.0.0", "prettier": "3.6.2", "publint": "^0.3.15", "ts-node": "^10.9.2", "tsdown": "^0.16.5", "typescript": "5.9.3", "typescript-eslint": "^8.0.0", "vitest": "^4.0.0" }, "dependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "change-case": "^5.4.4", "semantic-release": "^25.0.0", "zod": "^4.0.0" }, "files": [ "dist" ], "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "release": { "branches": [ "main" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", [ "@semantic-release/npm", { "npmPublish": true, "tarballDir": "dist" } ], "@semantic-release/git", "@semantic-release/github" ] }, "tmdbApiVersion": "3" }