0.1.2 • Published 4 years ago

@jimengio/project-stats v0.1.2

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

Project Stats

scripts to gather file informations.

Usage

npm

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

0.1.2

4 years ago

0.1.2-a1

4 years ago

0.1.1

4 years ago

0.1.1-a2

4 years ago

0.1.1-a1-dev

4 years ago

0.1.1-a1

4 years ago

0.1.0

4 years ago

0.1.0-a5

4 years ago

0.1.0-a4

4 years ago

0.1.0-a3

4 years ago

0.1.0-a2

4 years ago

0.1.0-a1

4 years ago