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