2019-01-08 00:46:19 +00:00
|
|
|
{
|
|
|
|
"scripts": {
|
2019-01-18 21:46:40 +00:00
|
|
|
"postinstall": "../node_modules/.bin/ts-node ../scripts/install-packages.ts",
|
2019-01-08 00:46:19 +00:00
|
|
|
"test": "jest"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/jest": "^23.3.12",
|
|
|
|
"jest": "^23.6.0",
|
2019-01-14 20:58:34 +00:00
|
|
|
"ts-jest": "^23.10.5"
|
2019-01-08 00:46:19 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"xmlhttprequest": "1.8.0"
|
|
|
|
},
|
|
|
|
"jest": {
|
2019-03-21 19:04:09 +00:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"diagnostics": false
|
|
|
|
}
|
|
|
|
},
|
2019-01-08 00:46:19 +00:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
2019-01-14 20:58:34 +00:00
|
|
|
"<rootDir>/../scripts/test-setup.js"
|
2019-01-08 00:46:19 +00:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2019-01-14 20:58:34 +00:00
|
|
|
"^.+\\.(s?css|png|svg)$": "<rootDir>/../scripts/dummy.js",
|
2019-02-19 21:30:56 +00:00
|
|
|
"@coder/ide/src/fill/evaluation": "<rootDir>/ide/src/fill/evaluation",
|
2019-02-19 21:38:17 +00:00
|
|
|
"@coder/ide/src/fill/client": "<rootDir>/ide/src/fill/client",
|
2019-02-19 20:21:04 +00:00
|
|
|
"@coder/(.*)/test": "<rootDir>/$1/test",
|
2019-03-21 19:04:09 +00:00
|
|
|
"@coder/(.*)": "<rootDir>/$1/src",
|
|
|
|
"vs/(.*)": "<rootDir>/../lib/vscode/src/vs/$1",
|
|
|
|
"vszip": "<rootDir>/../lib/vscode/src/vs/base/node/zip.ts"
|
2019-01-08 00:46:19 +00:00
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/logger/"
|
|
|
|
],
|
|
|
|
"testRegex": ".*\\.test\\.tsx?"
|
|
|
|
}
|
2019-03-21 19:04:09 +00:00
|
|
|
}
|