@jimengio/project-stats
v0.1.2
Published
Scripts for scanning project status
Readme
Project Stats
scripts to gather file informations.
Usage
yarn global add @jimengio/project-statsunimported
unimported is a command for listing files not required from entry file:
project-unimported src/main.tsxit 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-usagesfile-size
project-file-size
limitSize=800 project-file-sizeStats(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
