mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-09 20:08:10 -06:00
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:
16
package.json
16
package.json
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user