Files
Nitro_Render_V3/package.json
T
simoleo89 c7a5aea98a chore(ts): bump TypeScript 5.8 → 6.0 and add tsgo for fast type-checking
- typescript: ~5.8.2 → ^6.0.3 (matches Nitro-V3 client)
- adds @typescript/native-preview (tsgo) as TypeScript 7 preview
- new `compile:fast` script using tsgo (~7× faster: 2.5s vs 17.6s)
- tsconfig cleanup ahead of TypeScript 7 deprecations:
  - removed `baseUrl` (unused: no `paths` mappings on this project)
  - removed `downlevelIteration` (target ES2022 makes it a no-op)
  - `moduleResolution`: "Node" → "bundler" (vite consumes the renderer)

Compile errors: 28 → 29. Net +1 because TS 6's tightened lib types flag
two pre-existing crypto calls (WsSessionCrypto.ts:43,48) and resolves one
prior false positive. All errors are in pre-existing code, unrelated to
the new event/snapshot APIs from 791b8ad.
2026-05-10 19:27:37 +02:00

58 lines
1.6 KiB
JSON

{
"name": "@nitrots/nitro-renderer",
"description": "Javascript library for rendering Nitro in the browser using PixiJS",
"version": "2.1.0",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/duckietm/Nitro_Render_V3.git"
},
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/duckietm/Nitro_Render_V3/issues"
},
"homepage": "https://github.com/duckietm/Nitro_Render_V3",
"scripts": {
"build": "vite build",
"compile": "tsc --project ./tsconfig.json --noEmit false",
"compile:fast": "tsgo --project ./tsconfig.json --noEmit",
"eslint": "eslint ./src ./packages/*/src",
"eslint-fix": "eslint ./src --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"main": "./index",
"dependencies": {
"@thumbmarkjs/thumbmarkjs": "^1.8.1",
"gifuct-js": "^2.1.2",
"howler": "^2.2.4",
"pako": "^2.1.0",
"pixi-filters": "^6.1.5",
"pixi.js": "^8.18.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@rollup/plugin-typescript": "^11.1.6",
"@types/howler": "^2.2.11",
"@types/node": "^20.14.12",
"@types/pako": "^2.0.3",
"@vitest/coverage-v8": "^4.0.18",
"eslint": "^9.8.0",
"jsdom": "^27.4.0",
"@typescript/native-preview": "^7.0.0-dev.20260510.1",
"tslib": "^2.6.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.26.1",
"vite": "^8.0.10",
"vitest": "^4.1.5"
}
}