@jimengio/project-stats
v0.1.2
Published
Scripts for scanning project status
Downloads
17
Readme
Project Stats
scripts to gather file informations.
Usage
yarn global add @jimengio/project-stats
unimported
unimported
is a command for listing files not required from entry file:
project-unimported src/main.tsx
it relies on package.json
and tsconfig.json
for configs.
uppercase
List all files with uppercase letter in filename:
project-uppercase src/
frequency
Find editing frequency of each file from Git history:
project-frequency
project-frequency src # paths begin with "src"
usages
Detect usages of useState
(currently only useState):
project-usages
limitSize=5 project-usages
file-size
project-file-size
limitSize=800 project-file-size
Stats(TODO)
project-stats config.edn
{
:base "/home/jimeng/repo/web/"
:pick-entries ["shared" "system"]
:highlights [
{:type :lines, :succeed 800}
{:type :frequency, :content "useState", :succeed 10}
]
}
Workflow
Workflow https://github.com/mvc-works/calcit-workflow
License
MIT