Files
oneuptime/CLI/jest.config.json
Nawaz Dhandala 5ac5ffede5 feat(cli): initialize CLI package with TypeScript configuration and dependencies
- Added package.json for OneUptime CLI with scripts for development and build processes.
- Included TypeScript configuration (tsconfig.json) with strict type checking and module settings.
2026-02-15 10:36:30 +00:00

32 lines
863 B
JSON

{
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"],
"collectCoverageFrom": [
"**/*.ts",
"!**/*.d.ts",
"!**/node_modules/**",
"!**/build/**"
],
"setupFilesAfterEnv": [],
"testTimeout": 30000,
"modulePathIgnorePatterns": ["<rootDir>/build/"],
"moduleNameMapper": {
"^Common/(.*)$": "<rootDir>/../Common/$1"
},
"transformIgnorePatterns": [
"node_modules/(?!(@oneuptime)/)"
],
"transform": {
"^.+\\.ts$": ["ts-jest", {
"tsconfig": {
"noUnusedLocals": false,
"noUnusedParameters": false,
"strict": false,
"noPropertyAccessFromIndexSignature": false,
"module": "commonjs"
}
}]
}
}