pokemon-showdown/package.json
Kirk Scheibelhut b9e5fcb387
Introduce set importer logic (#5749)
`node tools/set-import [version]` can be run to create a
`@pokemon-showdown/sets` package containing sets from Smogon, usage
stats and third party sources. Some notes:

- The build is set up so that `tools/set-import/importer.ts` is
  compiled to `tools/set-import/importer.js` - creating a
  `.tools-dist/set-import` directory for the sole artifact was
  deemed to be overkill
- The sets package is generated such that it can be used easily on
  Node or in a browser (where the large set JSON can be loaded
  asynchronously)
- Supported tiers/formats are mostly arbitrary - those popular
  enough to have a signficant playerbase or analyses on Smogon have
  been included, but additional formats can be added based on demand
- Some set information is redundant for ease of use by downstream
  users: certain formes are split out and information that could
  theoretically be inferred like level/ability/HP IVs are included
  to simplify parsing logic and make the sets more immediately
  available. This results in what should mostly be negligible
  size overhead.
- In a similar vein, display versions of effect names instead of IDs
  are used (name -> ID is trivial, ID -> name requires data lookup)
- All sets pass validation, provided certain simple transformations
  are applied (eg. reverting `battleOnly` formes like Megas)

This tool has primarily been tested to run on Linux - running on
other platforms is not guaranteed to result in error-free output.
2019-09-10 21:15:05 -04:00

75 lines
1.8 KiB
JSON

{
"name": "pokemon-showdown",
"preferGlobal": true,
"description": "The server for the Pokémon Showdown battle simulator",
"version": "0.11.2",
"dependencies": {
"probe-image-size": "^4.0.0",
"sockjs": "0.3.19",
"sucrase": "^3.10.1"
},
"optionalDependencies": {
"cloud-env": "^0.2.3",
"node-oom-heapdump": "^1.1.4",
"node-static": "^0.7.11",
"nodemailer": "^6.2.1",
"permessage-deflate": "^0.1.6"
},
"engines": {
"node": ">=7.7.0"
},
"scripts": {
"start": "node pokemon-showdown start",
"build": "node build",
"tsc": "tsc",
"lint": "eslint --cache . && tslint --project .",
"pretest": "npm run lint && npm run build",
"test": "mocha",
"posttest": "npm run tsc",
"fulltest": "npm run pretest && mocha -g \".*\" && npm run posttest"
},
"husky": {
"hooks": {
"pre-push": "eslint --cache ."
}
},
"bin": "./pokemon-showdown",
"homepage": "http://pokemonshowdown.com",
"repository": {
"type": "git",
"url": "https://github.com/Zarel/Pokemon-Showdown.git"
},
"author": {
"name": "Guangcong Luo",
"email": "guangcongluo@gmail.com",
"url": "http://guangcongluo.com"
},
"contributors": [
{
"name": "Cathy J. Fitzpatrick",
"email": "cathy@cathyjf.com",
"url": "https://cathyjf.com"
},
{
"name": "Bill Meltsner",
"email": "bill@meltsner.com",
"url": "http://www.meltsner.com"
}
],
"private": true,
"license": "MIT",
"devDependencies": {
"@types/cloud-env": "^0.2.0",
"@types/node": "^12.0.2",
"@types/node-static": "^0.7.3",
"@types/nodemailer": "^6.1.0",
"@types/sockjs": "^0.3.31",
"eslint": "^5.16.0",
"husky": "^2.3.0",
"mocha": "^6.1.4",
"smogon": "0.0.3",
"tslint": "^5.16.0",
"typescript": "^3.5.0"
}
}