mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
41 lines
965 B
JSON
41 lines
965 B
JSON
{
|
|
"scripts": {
|
|
"postinstall": "../node_modules/.bin/ts-node ../scripts/install-packages.ts",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.12",
|
|
"jest": "^23.6.0",
|
|
"ts-jest": "^23.10.5"
|
|
},
|
|
"dependencies": {
|
|
"xmlhttprequest": "1.8.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"json"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/../scripts/test-setup.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.+\\.(s?css|png|svg)$": "<rootDir>/../scripts/dummy.js",
|
|
"@coder/ide/src/fill/evaluation": "<rootDir>/ide/src/fill/evaluation",
|
|
"@coder/ide/src/fill/client": "<rootDir>/ide/src/fill/client",
|
|
"@coder/(.*)/test": "<rootDir>/$1/test",
|
|
"@coder/(.*)": "<rootDir>/$1/src"
|
|
},
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/logger/"
|
|
],
|
|
"testRegex": ".*\\.test\\.tsx?"
|
|
}
|
|
}
|