tvmaze-wrapper-ts
Version:
A Node.js wrapper to the TVmaze API written in TypeScript.
63 lines (62 loc) • 1.78 kB
JSON
{
"name": "tvmaze-wrapper-ts",
"version": "2.1.2",
"description": "A Node.js wrapper to the TVmaze API written in TypeScript.",
"license": "AGPL-3.0-only",
"author": "Johann Berger (https://github.com/JohnDeved)",
"contributors": [
"Josh Thompson (https://github.com/joshthompson)",
"Konrad Guzek (https://github.com/kguzek)"
],
"maintainers": [
"Konrad Guzek"
],
"homepage": "https://github.com/kguzek/tvmaze-wrapper-ts",
"repository": {
"type": "git",
"url": "git+https://github.com/kguzek/tvmaze-wrapper-ts.git"
},
"bugs": {
"url": "https://github.com/kguzek/tvmaze-wrapper-ts/issues"
},
"keywords": [
"tvmaze",
"api",
"types",
"typescript",
"wrapper",
"tvmazeapi",
"tv",
"show"
],
"scripts": {
"build:cjs": "tsc --module commonjs --outDir dist/cjs/ && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:esm": "tsc --module esnext --outDir dist/esm/ && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"build": "npm run build:cjs && npm run build:esm; rm -rf ./tvmaze-wrapper-ts-*.tgz; npm pack",
"test": "node dist/cjs/tests/index.js",
"format": "prettier --write ."
},
"type": "module",
"main": "./src/index.ts",
"module": "./dist/esm/src/index.js",
"types": "./dist/esm/src/index.d.ts",
"files": [
"./dist/"
],
"exports": {
".": {
"import": {
"default": "./dist/esm/src/index.js",
"types": "./dist/esm/src/index.d.ts"
},
"require": {
"default": "./dist/cjs/src/index.js",
"types": "./dist/cjs/src/index.d.ts"
}
}
},
"devDependencies": {
"prettier": "^3.5.2",
"typescript": "^5.7.3"
}
}