File tree Expand file tree Collapse file tree 3 files changed +2178
-39
lines changed Expand file tree Collapse file tree 3 files changed +2178
-39
lines changed Original file line number Diff line number Diff line change 1+ coverage /
12lib /
23node_modules /
Original file line number Diff line number Diff line change 1414 "format" : " prettier --write 'src/**'" ,
1515 "lint" : " tsc; tslint -p ./" ,
1616 "precommit" : " pretty-quick --staged" ,
17- "test" : " echo \" Error: no test specified\" && exit 1"
17+ "test" : " jest --coverage"
18+ },
19+ "jest" : {
20+ "collectCoverageFrom" : [
21+ " **/src/**/?*.(js|ts)"
22+ ],
23+ "transform" : {
24+ "^.+\\ .ts$" : " ts-jest"
25+ },
26+ "testMatch" : [
27+ " **/src/**/?*.spec.(js|ts)"
28+ ],
29+ "moduleFileExtensions" : [
30+ " js" ,
31+ " json" ,
32+ " ts"
33+ ]
1834 },
1935 "dependencies" : {},
2036 "devDependencies" : {
2137 "@babel/cli" : " ^7.0.0-beta.54" ,
2238 "@babel/core" : " ^7.0.0-beta.54" ,
2339 "@babel/preset-env" : " ^7.0.0-beta.54" ,
2440 "@babel/preset-typescript" : " ^7.0.0-beta.54" ,
41+ "@types/jest" : " ^23.3.1" ,
2542 "husky" : " ^0.14.3" ,
43+ "jest" : " ^23.4.1" ,
2644 "prettier" : " ^1.13.7" ,
2745 "pretty-quick" : " ^1.6.0" ,
2846 "rimraf" : " ^2.6.2" ,
47+ "ts-jest" : " ^23.0.1" ,
2948 "tslint" : " ^5.11.0" ,
3049 "typescript" : " ^2.9.2"
3150 }
You can’t perform that action at this time.
0 commit comments