|
17 | 17 | "dev": "bun --watch src/blade.tsx", |
18 | 18 | "build": "rm -rf dist && bun build src/blade.tsx --external react-devtools-core --external react --external react-dom --external ink --external ink-* --external yargs --external chalk --external inquirer --minify --outfile dist/blade.js --target=node", |
19 | 19 | "start": "bun run dist/blade.js", |
20 | | - "test": "vitest", |
21 | | - "test:watch": "vitest --watch", |
22 | | - "test:coverage": "vitest --coverage", |
23 | | - "test:unit": "vitest --testNamePattern=\"(unit|__tests__)\"", |
24 | | - "test:integration": "vitest --testNamePattern=\"integration\"", |
25 | | - "test:e2e": "vitest --testNamePattern=\"e2e\"", |
26 | | - "test:ci": "vitest run --coverage", |
| 20 | + "test": "node scripts/test.js", |
| 21 | + "test:all": "vitest run --config vitest.config.ts", |
| 22 | + "test:unit": "node scripts/test.js unit", |
| 23 | + "test:integration": "node scripts/test.js integration", |
| 24 | + "test:e2e": "node scripts/test.js e2e", |
| 25 | + "test:security": "node scripts/test.js security", |
| 26 | + "test:coverage": "node scripts/test.js all --coverage", |
| 27 | + "test:unit:coverage": "node scripts/test.js unit --coverage", |
| 28 | + "test:integration:coverage": "node scripts/test.js integration --coverage", |
| 29 | + "test:watch": "vitest --watch --config vitest.config.ts", |
| 30 | + "test:unit:watch": "vitest --watch --config vitest.workspace.ts --project unit", |
| 31 | + "test:integration:watch": "vitest --watch --config vitest.workspace.ts --project integration", |
| 32 | + "test:debug": "node scripts/test.js all --debug", |
| 33 | + "test:verbose": "node scripts/test.js all --verbose", |
| 34 | + "test:ci": "vitest run --config vitest.config.ts --coverage --reporter=verbose", |
27 | 35 | "test:performance": "vitest --testNamePattern=\"performance\" --verbose", |
28 | | - "test:debug": "vitest --no-cache --verbose", |
29 | 36 | "lint": "biome lint src tests", |
30 | 37 | "lint:fix": "biome lint --write src tests", |
31 | 38 | "format": "biome format --write src tests", |
32 | 39 | "format:check": "biome format src tests", |
33 | 40 | "check": "biome check src tests", |
34 | 41 | "check:fix": "biome check --write src tests", |
35 | 42 | "type-check": "tsc --noEmit", |
36 | | - "check:full": "npm run type-check && npm run lint && npm run format:check && npm run test", |
| 43 | + "check:full": "npm run type-check && npm run lint && npm run format:check && npm run test:ci", |
37 | 44 | "security:audit": "pnpm audit", |
38 | 45 | "security:test": "bash scripts/run-security-tests.sh", |
39 | 46 | "release": "node scripts/release.js", |
40 | 47 | "release:dry": "node scripts/release.js --dry-run", |
41 | 48 | "release:major": "node scripts/release.js --major", |
42 | 49 | "release:minor": "node scripts/release.js --minor", |
43 | 50 | "release:patch": "node scripts/release.js --patch", |
44 | | - "clean": "rm -rf dist node_modules/.cache", |
| 51 | + "clean": "rm -rf dist node_modules/.cache coverage", |
45 | 52 | "prepare": "bun run build", |
46 | 53 | "preflight": "npm run clean && pnpm install && npm run format && npm run lint && npm run build && npm run type-check && npm run test:ci" |
47 | 54 | }, |
|
88 | 95 | "@types/ws": "^8.5.12", |
89 | 96 | "@types/yargs": "^17.0.33", |
90 | 97 | "@vitest/coverage-v8": "^3.0.0", |
| 98 | + "execa": "^9.6.0", |
91 | 99 | "jsdom": "^26.0.0", |
92 | 100 | "ts-node": "^10.9.2", |
93 | 101 | "typescript": "^5.9.2", |
|
0 commit comments