mirror of
https://github.com/coder/code-server.git
synced 2024-11-24 13:37:19 +03:00
43 lines
968 B
JSON
43 lines
968 B
JSON
{
|
|
"scripts": {
|
|
"build:rules": "cd ./rules && yarn build",
|
|
"postinstall": "ts-node ./scripts/src/install-packages.ts && yarn build:rules",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.12",
|
|
"jest": "^23.6.0",
|
|
"ts-jest": "^23.10.5",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.12.1",
|
|
"typescript-tslint-plugin": "^0.2.1"
|
|
},
|
|
"dependencies": {
|
|
"xmlhttprequest": "1.8.0"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"json"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/scripts/src/test-setup.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.+\\.(s?css|png|svg)$": "<rootDir>/scripts/src/dummy.js",
|
|
"@coder/(.*)/testing": "<rootDir>/$1/testing",
|
|
"@coder/(.*)": "<rootDir>/$1/src"
|
|
},
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/logger/"
|
|
],
|
|
"testRegex": ".*\\.test\\.tsx?"
|
|
}
|
|
}
|