code-server/packages/package.json
2019-02-05 11:15:42 -06:00

43 lines
986 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>/packages/$1/testing",
"@coder/(.*)": "<rootDir>/packages/$1/src"
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/logger/"
],
"testRegex": ".*\\.test\\.tsx?"
}
}