UNPKG

pokedex-promise-v2

Version:

A library used to get information about Pokemons.

81 lines (80 loc) 2.78 kB
{ "name": "pokedex-promise-v2", "type": "module", "version": "4.2.1", "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/", "testjs": "(cd test/js && npm i ../.. && node index.js)", "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": "eslint --ext .ts 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" }, "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.7.9", "node-cache": "^5.1.2", "p-map": "^7.0.3" }, "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": "^20.17.10", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "chai-things": "^0.2.0", "directory-tree": "^3.5.2", "doctoc": "^2.2.1", "eslint": "^8.57.1", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-import": "^2.31.0", "lodash": "^4.17.21", "mocha": "^10.8.2", "quicktype-core": "^23.0.170", "ts-morph": "^21.0.1", "typescript": "^5.7.2" }, "packageManager": "pnpm@8.10.2+sha1.e0b68270e89c817ff88b7be62466a2128c53af02" }