|
57 | 57 | "build:code": "tsx ./scripts/bundle.ts", |
58 | 58 | "build:types": "tsc --emitDeclarationOnly --outDir dist/types", |
59 | 59 | "build": "run-s build:clean build:code build:types", |
| 60 | + "generate": "run-s generate:locales generate:api-docs", |
60 | 61 | "generate:api-docs": "tsx ./scripts/apidoc.ts", |
61 | 62 | "generate:locales": "tsx ./scripts/generateLocales.ts", |
62 | 63 | "docs:build": "run-s docs:prepare docs:build:run", |
|
69 | 70 | "docs:diff": "tsx ./scripts/diff.ts", |
70 | 71 | "format": "prettier --cache --write .", |
71 | 72 | "lint": "eslint --cache --cache-strategy content .", |
| 73 | + "ts-check": "run-s ts-check:scripts ts-check:tests", |
72 | 74 | "ts-check:scripts": "tsc --project tsconfig.check-scripts.json", |
73 | 75 | "ts-check:tests": "tsc --project tsconfig.check-tests.json", |
74 | 76 | "test": "vitest", |
|
80 | 82 | "docs:test:e2e:open": "run-p --race docs:serve \"cypress open\"", |
81 | 83 | "release": "standard-version", |
82 | 84 | "prepublishOnly": "pnpm run clean && pnpm install && pnpm run build", |
83 | | - "preflight": "pnpm install && run-s generate:* format lint build test:update-snapshots" |
| 85 | + "preflight": "pnpm install && run-s generate format lint build test:update-snapshots ts-check" |
84 | 86 | }, |
85 | 87 | "devDependencies": { |
86 | 88 | "@actions/github": "~5.1.1", |
|
0 commit comments