mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-29 05:35:25 +00:00
46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
|
"scripts": {
|
|
"build:rules": "cd ./rules && yarn build",
|
|
"postinstall": "ts-node ./scripts/install-packages.ts && yarn build:rules",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.12",
|
|
"@types/node": "10.5.2",
|
|
"@types/webpack-env": "1.13.6",
|
|
"jest": "^23.6.0",
|
|
"ts-jest": "^23.10.5",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "5.11.0",
|
|
"tslint-language-service": "0.9.9",
|
|
"typescript": "3.1.3"
|
|
},
|
|
"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/(.*)/testing": "<rootDir>/packages/$1/testing",
|
|
"@coder/(.*)": "<rootDir>/packages/$1/src"
|
|
},
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/logger/"
|
|
],
|
|
"testRegex": ".*\\.test\\.tsx?"
|
|
}
|
|
}
|