File size: 2,882 Bytes
5c2ed06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
  "name": "pokemon-showdown",
  "description": "The server for the Pokémon Showdown battle simulator",
  "version": "0.11.9",
  "main": "dist/sim/index.js",
  "types": "dist/sim/index.d.ts",
  "dependencies": {
    "esbuild": "^0.16.10",
    "mysql2": "^3.9.7",
    "preact": "^10.5.15",
    "preact-render-to-string": "^5.1.19",
    "probe-image-size": "^7.2.3",
    "sockjs": "^0.3.21",
    "source-map-support": "^0.5.21",
    "ts-chacha20": "^1.2.0"
  },
  "optionalDependencies": {
    "better-sqlite3": "^7.6.2",
    "cloud-env": "^0.2.3",
    "githubhook": "^1.9.3",
    "node-static": "^0.7.11",
    "nodemailer": "^6.4.6",
    "permessage-deflate": "^0.1.7",
    "pg": "^8.11.3",
    "sql-template-strings": "^2.2.2",
    "sqlite": "^3.0.6",
    "sucrase": "^3.15.0"
  },
  "secretDependencies": {
    "node-oom-heapdump": "^1.2.0"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "scripts": {
    "start": "node pokemon-showdown start",
    "build": "node build",
    "build-npm": "npx tsc sim/global-types.ts sim/index.ts --declaration --emitDeclarationOnly --declarationDir dist/ --target es2020 --strict --moduleResolution node --types node --lib es2020",
    "test-npm": "npx tsc sim/global-types.ts sim/index.ts --noEmit --target es2020 --strict --moduleResolution node --types node --lib es2020",
    "tsc": "tsc",
    "lint": "eslint --cache",
    "fix": "eslint --cache --fix",
    "full-lint": "npm run lint",
    "pretest": "npm run lint",
    "test": "mocha",
    "posttest": "npm run tsc",
    "full-test": "npm run lint && npm run tsc && mocha --timeout 8000 --forbid-only -g \".*\"",
    "full-test-ci": "eslint --max-warnings 0 && tsc && (([ \"$SKIPSIMTESTS\" = true ] && mocha --timeout 8000 --forbid-only -g \".*\" --exclude \"test/{sim,random-battles}/**\") || mocha --timeout 8000 --forbid-only -g \".*\") && npm run test-npm",
    "postinstall": "npm run build postinstall"
  },
  "bin": "./pokemon-showdown",
  "homepage": "http://pokemonshowdown.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/smogon/pokemon-showdown.git"
  },
  "author": {
    "name": "Guangcong Luo",
    "email": "guangcongluo@gmail.com",
    "url": "http://guangcongluo.com"
  },
  "contributors": [
    {
      "name": "Bill Meltsner",
      "email": "bill@meltsner.com",
      "url": "http://www.meltsner.com"
    }
  ],
  "license": "MIT",
  "devDependencies": {
    "@stylistic/eslint-plugin": "^4.0.1",
    "@types/better-sqlite3": "^7.6.2",
    "@types/cloud-env": "^0.2.2",
    "@types/node": "^14.18.63",
    "@types/node-static": "^0.7.7",
    "@types/nodemailer": "^6.4.4",
    "@types/pg": "^8.6.5",
    "@types/sockjs": "^0.3.33",
    "@types/sodium-native": "^2.3.9",
    "eslint": "^9.21.0",
    "globals": "^16.0.0",
    "mocha": "^8.2.0",
    "smogon": "^3.0.0",
    "typescript": "^5.7.3",
    "typescript-eslint": "^8.24.1"
  }
}