tmdbrjs
Version:
A TypeScript wrapper for The Movie Database (TMDB) API
120 lines (119 loc) • 3.31 kB
JSON
{
"name": "tmdbrjs",
"version": "1.5.21",
"description": "A TypeScript wrapper for The Movie Database (TMDB) API",
"exports": {
".": {
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"engines": {
"node": ">=18"
},
"type": "module",
"types": "./lib/esm/index.d.ts",
"scripts": {
"clean": "rm -rf lib || true",
"build": "npm run clean && tsc && tsc -p tsconfig.cjs.json && npm run create-package-files",
"create-package-files": "echo '{\"type\":\"commonjs\"}' > lib/cjs/package.json && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"check-types": "tsc --noEmit --pretty",
"commit": "cz",
"dev": "tsc -w",
"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",
"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": {
"@commitlint/cli": "^19.0.0",
"@commitlint/config-conventional": "^19.0.0",
"@types/jest": "29.5.14",
"@types/node": "^22.0.0",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/eslint-plugin": "8.34.0",
"@typescript-eslint/parser": "8.34.0",
"@vitest/coverage-v8": "^3.0.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.4.5",
"eslint": "9.28.0",
"eslint-plugin-jest": "28.13.5",
"husky": "^9.0.0",
"lint-staged": "^16.0.0",
"node-fetch": "^3.0.0",
"prettier": "3.5.3",
"ts-node": "^10.9.2",
"typescript": "5.8.3",
"typescript-eslint": "^8.0.0",
"vitest": "^3.0.0"
},
"dependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"change-case": "^5.4.4",
"semantic-release": "^24.0.0",
"zod": "^3.22.4"
},
"files": [
"lib/esm/**/*",
"lib/cjs/**/*"
],
"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"
}