Add working Jest & TypeScript config

- Jest now uses ts-jest for transforms
- TypeScript compilation via `lerna run tsc`
This commit is contained in:
Jonathan Clem
2019-04-19 15:15:34 -04:00
parent 97bc7918f4
commit f026c43b81
10 changed files with 124 additions and 27 deletions

View File

@@ -4,18 +4,13 @@
"scripts": {
"test": "jest"
},
"jest": {
"clearMocks": true,
"roots": [
"<rootDir>/packages"
],
"testEnvironment": "node",
"testRunner": "jest-circus/runner",
"verbose": true
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^11.13.5",
"jest": "^24.7.1",
"jest-circus": "^24.7.1",
"lerna": "^3.13.3"
"lerna": "^3.13.3",
"ts-jest": "^24.0.2",
"typescript": "^3.4.4"
}
}