Shuunen/repo-checker

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "$schema": "https://json.schemastore.org/package",
  "author": "Romain Racamier-Lafon <romain.racamier@gmail.com>",
  "bin": "dist/repo-check.min.cjs",
  "bugs": "https://github.com/Shuunen/repo-checker/issues",
  "config": {
    "logFile": "repo-check.log"
  },
  "dependencies": {
    "arg": "5.0",
    "shuutils": "8.0",
    "sort-json": "2.0"
  },
  "description": "Repo cleaning made easy",
  "devDependencies": {
    "@biomejs/biome": "1.8",
    "@types/node": "20.14",
    "@types/sort-json": "2.0",
    "@vitest/coverage-v8": "1.6",
    "dependency-cruiser": "16.3",
    "esbuild": "0.21",
    "eslint": "8.57",
    "eslint-config-hardcore": "47.0",
    "eslint-plugin-unicorn": "54.0",
    "typescript": "5.5",
    "vitest": "1.6",
    "watchlist": "0.3"
  },
  "files": [
    "dist/*.min.cjs",
    ".eslintrc.json",
    "templates"
  ],
  "homepage": "https://github.com/Shuunen/repo-checker",
  "keywords": [
    "repository",
    "check",
    "checker"
  ],
  "license": "GPL-3.0",
  "main": "dist/repo-check.min.cjs",
  "name": "repo-check",
  "private": false,
  "repository": {
    "type": "git",
    "url": "https://github.com/Shuunen/repo-checker.git"
  },
  "scripts": {
    "build": "pnpm build:app && pnpm mark && echo build success",
    "build:app": "esbuild src/index.ts --target=esnext --bundle --platform=node --minify --outfile=dist/repo-check.min.cjs",
    "build:start": "pnpm build:app && node .",
    "check": "pnpm i && echo install success && pnpm start && pnpm lint && npm test && echo check success",
    "dev": "watchlist src -eager -- pnpm build:start",
    "lint": "pnpm lint:tsc && pnpm lint:biome && pnpm lint:eslint && pnpm lint:dep && echo lint success",
    "lint:biome": "biome lint --error-on-warnings --write --unsafe src && biome format --write src && echo lint:biome success",
    "lint:dep": "depcruise src --config && echo lint:dep success",
    "lint:eslint": "eslint --cache --max-warnings 0 --ext .js,.ts src && echo lint:eslint success",
    "lint:tsc": "tsc --noEmit && echo lint:tsc success",
    "mark": "unique-mark dist/repo-check.min.cjs && echo mark success",
    "postversion": "git push && git push --tags && pnpm build && npm publish",
    "preversion": "pnpm check",
    "start": "pnpm build:start",
    "test": "vitest --coverage --run && echo test success",
    "test:bench": "vitest bench && echo test bench success",
    "test:update": "vitest --run --update && echo test update success",
    "test:watch": "vitest --coverage"
  },
  "version": "1.36.0"
}