Set node version in package.json

This commit is contained in:
Nick Alteen
2025-01-09 17:35:05 -05:00
parent 7091e1f49c
commit 2f06414de4
3 changed files with 4 additions and 7 deletions

View File

@@ -1,8 +1,7 @@
// See: https://jestjs.io/docs/configuration
import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
/** @type {import('ts-jest').JestConfigWithTsJest} **/
export default {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: ['./src/**'],
@@ -39,5 +38,3 @@ const jestConfig: JestConfigWithTsJest = {
},
verbose: true
}
export default jestConfig

View File

@@ -23,7 +23,7 @@
".": "./dist/index.js"
},
"engines": {
"node": ">=21"
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",

View File

@@ -11,7 +11,7 @@
"__tests__",
"src",
"eslint.config.mjs",
"jest.config.ts",
"jest.config.js",
"rollup.config.ts"
]
}