|
12 | 12 | "build:preload": "bun build src/preload.ts --format=cjs --target=node --external=electron --outfile=dist/preload.js", |
13 | 13 | "build:renderer": "vite build", |
14 | 14 | "start": "bun build:preload && electron .", |
15 | | - "typecheck": "tsc --noEmit", |
16 | | - "typecheck:main": "tsc --noEmit -p tsconfig.main.json", |
| 15 | + "typecheck": "./scripts/typecheck.sh", |
| 16 | + "typecheck:main": "./scripts/typecheck.sh --main", |
17 | 17 | "debug": "bun src/debug/index.ts", |
18 | | - "lint": "eslint 'src/**/*.{ts,tsx}' && bun run typecheck && bun run typecheck:main", |
19 | | - "lint:fix": "eslint 'src/**/*.{ts,tsx}' --fix", |
20 | | - "fmt": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\" \"*.{json,md}\"", |
21 | | - "fmt:shell": "shfmt -i 2 -ci -bn -w scripts", |
22 | | - "fmt:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\" \"*.{json,md}\"", |
23 | | - "test": "jest", |
24 | | - "test:watch": "jest --watch", |
25 | | - "test:coverage": "jest --coverage", |
| 18 | + "lint": "./scripts/lint.sh", |
| 19 | + "lint:fix": "./scripts/lint.sh --fix", |
| 20 | + "fmt": "./scripts/fmt.sh", |
| 21 | + "fmt:shell": "./scripts/fmt.sh --shell", |
| 22 | + "fmt:check": "./scripts/fmt.sh --check", |
| 23 | + "test": "./scripts/test.sh", |
| 24 | + "test:watch": "./scripts/test.sh --watch", |
| 25 | + "test:coverage": "./scripts/test.sh --coverage", |
26 | 26 | "dist": "bun run build && electron-builder", |
27 | 27 | "dist:mac": "bun run build && electron-builder --mac", |
28 | 28 | "dist:win": "bun run build && electron-builder --win", |
|
0 commit comments