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