UNPKG

pokedex-promise-v2

Version:

A library used to get information about Pokemons.

81 lines (80 loc) 2.83 kB
{ "name": "pokedex-promise-v2", "type": "module", "version": "4.2.3", "description": "A library used to get information about Pokemons.", "engines": { "node": ">=18" }, "main": "dist/src/index.js", "typings": "types/index.d.ts", "scripts": { "doctoc": "doctoc .", "test": "tsc && mocha dist/test/", "apidata:clone": "git clone https://github.com/PokeAPI/api-data.git", "apidata:sync": "git -C api-data reset --hard HEAD && git -C api-data pull", "apidata:replace": "find api-data/data/schema -type f -exec sed -i -e s:/schema/v2:api-data/data/schema/v2:g {} +", "generate:types": "tsc -p generator/ && node dist/generator/TypesGenerator.js", "generate:main": "tsc -p generator/ && node dist/generator/Main.js", "generate:jsdocs": "tsc -p generator/ && node dist/generator/AddJSDocs.js", "lint": "npm run lint:eslint && npm run lint:oxlint", "lint:eslint": "eslint src/ --fix", "lint:oxlint": "oxlint src --fix", "generate:all": "(npm run apidata:clone || true) && npm run apidata:sync && npm run apidata:replace && npm run generate:types && npm run generate:main && npm run generate:jsdocs", "locks:update": "rm -rf node_modules,package-lock.json && npm i && rm -rf node_modules pnpm-lock.json && pnpm i && rm -rf node_modules bun.lock && bun i" }, "files": [ "dist/src/", "types" ], "types": "types/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/PokeAPI/pokedex-promise-v2" }, "keywords": [ "pokedex", "pokemon", "nintendo", "promise", "pokeapi" ], "author": "Thomas Asadurian <Tasadurian@gmail.com> (http://thetommytwitch.github.io/)", "contributors": [ "Alessandro Pezzé <igougi.ui@gmail.com> (https://github.com/Naramsim)", "Christian Garza (https://github.com/C-Garza)", "Helton Reis (https://github.com/HRKings)" ], "license": "MIT", "bugs": { "url": "https://github.com/PokeAPI/pokedex-promise-v2/issues" }, "homepage": "https://github.com/PokeAPI/pokedex-promise-v2#readme", "dependencies": { "axios": "^1.13.5", "node-cache": "^5.1.2", "p-map": "^7.0.4" }, "devDependencies": { "@types/chai": "^4.3.20", "@types/chai-as-promised": "^7.1.8", "@types/chai-things": "^0.0.38", "@types/memory-cache": "^0.2.6", "@types/mocha": "^10.0.10", "@types/node": "^24.12.2", "@typescript-eslint/eslint-plugin": "^8.58.0", "@typescript-eslint/parser": "^8.58.0", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "chai-things": "^0.2.0", "directory-tree": "^3.6.0", "doctoc": "^2.4.0", "eslint": "^10.2.0", "lodash": "^4.18.1", "mocha": "^11.7.5", "oxlint": "^1.61.0", "quicktype-core": "^23.2.6", "ts-morph": "^27.0.2", "typescript": "^5.9.3" } }