refactor: simplify npm scripts and streamline CI workflow

Consolidate package.json scripts from 17 to 10 by removing
redundant test variants and combining type-check + lint into
a single 'check' command. Update CI workflow to use simplified
commands and merge separate unit/integration test steps into
unified test execution. Update documentation to reflect new
script structure.
This commit is contained in:
2025-10-23 16:05:11 -05:00
parent 5c9c6defc4
commit 2f23dd33e9
3 changed files with 15 additions and 32 deletions

View File

@@ -5,21 +5,13 @@
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "eslint .",
"start": "next start",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"check": "tsc --noEmit && eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"start": "next start",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run --exclude '**/*.integration.test.{ts,tsx}'",
"test:run:coverage": "vitest run --coverage --exclude '**/*.integration.test.{ts,tsx}'",
"test:integration": "vitest run src/__tests__/rdap-integration.test.ts",
"test:integration:coverage": "vitest run --coverage src/__tests__/rdap-integration.test.ts",
"test:all": "vitest run",
"test:coverage": "vitest run --coverage",
"test:all:coverage": "vitest run --coverage",
"type-check": "tsc --noEmit",
"prepare": "husky install"
},
"dependencies": {