pokemon-showdown-client/package.json
Guangcong Luo 5971e5151a
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Preact minor update batch 11
Minor
- Unhide right panel when choosing "Two panels" layout option
- Refactor focusing
  - Correctly focus next room when closing currently active room
  - Correctly focus room when joining new room
- Use strict mode on all compiled files
- Fix router when started on `/` (it previously required starting on a
  non-empty room ID, which wasn't noticeable back when the URL needed
  to be `/preactalpha`)
- Update teambuilder sidebar CSS, to make it easier to add regular text
  - This is mainly for the "Tournaments" button in the main menu,
    which shares the CSS
- Fix new tournament elim tree text in Safari
- Update new tournament elim tree highlighted links to reliably
  link every still-playing game
- Remove latest gen from format name displays everywhere
  - Previously, they would only be removed from the format dropdown,
    but now they're also gone from the Ladder tab, battle tabs, and
    `/rank`
- Support async d3 loading
  - This allows chatrooms to be loaded way before all our dependencies
    are fully downloaded
- Remove "[Gen 9]" from format names everywhere (previously it was only
  removed from the format dropdown)
  - Also add "[Gen 6]" to unlabeled formats in `/rank` (Gen 6 was the
    last time we didn't have format generation as part of format names)

Trivial
- Stricter JSX linting
  - (unfortunately, most of the JSX style enforcement I actually want
    isn't possible in @stylistic)
- Make room.subscribeTo's second parameter optional
- Rearrange and comment loading order
- Rename hiddenInit -> focusNextUpdate (clarity)
- Rename PSMain -> PSView (clarity)
- Fix button spacing in Change Password
- Add `touch-action: manipulation` to <a> tags
- Refactor `nodeSize` in elim tour trees
2025-04-18 05:47:58 +00:00

43 lines
1.4 KiB
JSON

{
"name": "pokemon-showdown-client",
"version": "0.11.2",
"author": "Guangcong Luo <guangcongluo@gmail.com> (http://guangcongluo.com)",
"homepage": "https://pokemonshowdown.com",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/Zarel/Pokemon-Showdown-Client.git"
},
"scripts": {
"lint": "eslint --cache --cache-location caches/eslintcache.json",
"test": "node build && tsc && eslint --cache --cache-location caches/eslintcache.json --max-warnings 0 && mocha test/*.js",
"fix": "eslint --cache --cache-location caches/eslintcache.json --fix",
"build": "node build",
"build-full": "node build full"
},
"dependencies": {
"@babel/core": "^7.26.10",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@babel/plugin-transform-strict-mode": "^7.25.9",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.27.0",
"babel-plugin-remove-import-export": "^1.1.1",
"google-auth-library": "^3.1.2",
"image-size": "^0.7.5"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^4.0.1",
"@types/d3": "^3.5.53",
"@types/jquery": "^3.5.3",
"@types/mocha": "^5.2.6",
"eslint": "^9.20.1",
"globals": "^16.0.0",
"mocha": "^6.0.2",
"preact": "^8.3.1",
"source-map": "^0.7.3",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.1"
},
"private": true
}