webamp/packages/ani-cursor/package.json
Jordan Eldredge b45165e0d3 Upgrade Node.js to v22 LTS across the entire repo
- Update CI workflows (.github/workflows/ci.yml, code-size.yml) to use Node.js 22.x
- Update Netlify config to use Node.js 22.11.0
- Update all package.json engines to require Node.js 22.0.0+
- Add .nvmrc file with Node.js 22 for local development
- Update documentation to reflect Node.js 22+ requirement
- Update skin-database scripts to use Node.js 22
- Tested locally with nvm and confirmed builds work correctly

Node.js v22 is the current LTS version and provides improved performance
and security features. All packages now require Node.js 22+ to ensure
consistency across development, CI, and production environments.
2025-07-07 10:04:51 -07:00

64 lines
1.5 KiB
JSON

{
"name": "ani-cursor",
"version": "0.0.5",
"description": "Render .ani cursors as CSS animations in the browser",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist/",
"src/**/*.ts"
],
"author": "Jordan Eldredge <jordan@jordaneldredge.com>",
"license": "MIT",
"engines": {
"node": ">=22.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/captbaritone/webamp.git",
"directory": "packages/ani-cursor"
},
"bugs": {
"url": "https://github.com/captbaritone/webamp/issues"
},
"homepage": "https://github.com/captbaritone/webamp/tree/master/packages/ani-cursor",
"scripts": {
"build": "tsc",
"type-check": "tsc --noEmit",
"test": "jest",
"prepublish": "tsc"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.20.0",
"@swc/jest": "^0.2.24",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.10",
"typescript": "^5.3.3"
},
"dependencies": {
"byte-data": "18.1.1",
"riff-file": "^1.0.3"
},
"jest": {
"modulePathIgnorePatterns": [
"dist"
],
"testEnvironment": "jsdom",
"extensionsToTreatAsEsm": [".ts"],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.(t|j)sx?$": ["@swc/jest"]
}
}
}