|
|
@ -27,7 +27,7 @@ |
|
|
|
"start": "pnpm run watch:run", |
|
|
|
"start": "pnpm run watch:run", |
|
|
|
"start:prod": "node docker/main", |
|
|
|
"start:prod": "node docker/main", |
|
|
|
"lint": "eslint \"src/**/*.ts\" --fix", |
|
|
|
"lint": "eslint \"src/**/*.ts\" --fix", |
|
|
|
"test": "jest", |
|
|
|
"test": "jest --runInBand --forceExit", |
|
|
|
"test:watch": "jest --watch", |
|
|
|
"test:watch": "jest --watch", |
|
|
|
"test:cov": "jest --coverage", |
|
|
|
"test:cov": "jest --coverage", |
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
|
|
@ -196,22 +196,5 @@ |
|
|
|
"tsconfig-paths": "^4.2.0", |
|
|
|
"tsconfig-paths": "^4.2.0", |
|
|
|
"typescript": "^5.3.3", |
|
|
|
"typescript": "^5.3.3", |
|
|
|
"webpack-cli": "^5.1.4" |
|
|
|
"webpack-cli": "^5.1.4" |
|
|
|
}, |
|
|
|
|
|
|
|
"jest": { |
|
|
|
|
|
|
|
"moduleFileExtensions": [ |
|
|
|
|
|
|
|
"js", |
|
|
|
|
|
|
|
"json", |
|
|
|
|
|
|
|
"ts" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"rootDir": "src", |
|
|
|
|
|
|
|
"testRegex": ".*\\.spec\\.ts$", |
|
|
|
|
|
|
|
"transform": { |
|
|
|
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"collectCoverageFrom": [ |
|
|
|
|
|
|
|
"**/*.(t|j)s" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"coverageDirectory": "../coverage", |
|
|
|
|
|
|
|
"testEnvironment": "node" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|