knip

v5.30.4
Find unused files, dependencies and exports in your TypeScript and JavaScript projects
analysis analyze class cli dead code dependencies detect devDependencies duplicate and 21 more...

qa

bun lint && bun run build && bun knip && bun knip:production && bun run test

knip

node ./dist/cli.js --directory ../..

lint

biome lint ../..

test

bun test test/*.test.ts test/**/*.test.ts

build

tsc

watch

npm link && tsc --watch

format

biome format --write .

release

release-it

prebuild

node rmdir.js dist

test:node

glob -c "npx -y tsx --test --import ./transform-test.js" "test/**/*.test.ts"

create-plugin

bun ./scripts/create-new-plugin.ts

knip:production

node ./dist/cli.js --directory ../.. --production --strict

postcreate-plugin

biome format --write schema.json schema-jsonc.json src/ConfigurationValidator.ts

Metadata

  • ISC
  • >=18.6.0
  • Lars Kappert
  • released 9/22/2024

Downloads

Maintainers