Skip to content

Commit

Permalink
add ts-coverage tool
Browse files Browse the repository at this point in the history
  • Loading branch information
pavjacko committed Oct 20, 2023
1 parent 81e4c3a commit 8e32cb9
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 31 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ lib

lerna-debug.log
yarn-error.log
.rnv
.rnv
coverage-ts
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@
"bootstrap": "yarn run link:rnv && npx lerna bootstrap && yarn build",
"bootstrap-clean": "rm -rf ./node_modules; npx lerna clean --yes && yarn bootstrap",
"build": "lerna run build",
"circular": "npx madge --circular --extensions ts --exclude '\\.(d.ts)$' ./packages",
"report-circular": "npx madge --circular --extensions ts --exclude '\\.(d.ts)$' ./packages",
"report-ts-coverage": "typescript-coverage-report -p ./packages/core/tsconfig.json -t 99 -i lib",
"report-jest": "jest --coverage",
"compile": "npx lerna run compile",
"deploy:canary": "yarn pre-publish && npx lerna publish from-package --dist-tag canary && git push origin HEAD",
"deploy:feat": "yarn pre-publish && npx lerna publish from-package --dist-tag feat && git push origin HEAD",
Expand All @@ -79,7 +81,6 @@
"prettier-write-json": "npx prettier '**/{package.json,renative.plugins.json,renative.json}' --write --config .prettierrc.js",
"sanity": "yarn compile && yarn lint && yarn test",
"test": "jest",
"test-cover": "jest --coverage",
"watch": "npx lerna exec yarn watch --parallel",
"watch-alt": "npx lerna run compile & npx lerna watch -- lerna run compile"
},
Expand Down Expand Up @@ -116,7 +117,8 @@
"madge": "6.1.0",
"prettier": "2.3.1",
"ts-jest": "^27.0.7",
"typescript": "5.2.2"
"typescript": "5.2.2",
"typescript-coverage-report": "0.8.0"
},
"engines": {
"node": ">=18.0.0",
Expand Down Expand Up @@ -151,4 +153,4 @@
]
},
"resolutions": {}
}
}
Loading

0 comments on commit 8e32cb9

Please sign in to comment.