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

View File

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

View File

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