|
28 | 28 | "generate-dts": "tsc --project tsconfig.build.json", |
29 | 29 | "build": "rolldown -c rolldown.config.js && npm run generate-dts", |
30 | 30 | "pack:test": "tsx scripts/pack-test", |
31 | | - "prettier:check": "prettier --check \"**/*.{ts,tsx}\"", |
32 | | - "prettier:write": "prettier --write \"**/*.{ts,tsx}\"", |
| 31 | + "format:check": "oxfmt --check \"**/*.{ts,tsx}\"", |
| 32 | + "format:write": "oxfmt --write \"**/*.{ts,tsx}\"", |
33 | 33 | "typecheck": "tsc --noEmit", |
34 | 34 | "lint": "eslint --cache .", |
35 | 35 | "jest": "jest", |
36 | | - "test": "npm run prettier:check && npm run typecheck && npm run lint && npm run jest && npm run build && npm run pack:test && npm run knip", |
| 36 | + "test": "npm run format:check && npm run typecheck && npm run lint && npm run jest && npm run build && npm run pack:test && npm run knip", |
37 | 37 | "jest:coverage": "jest --coverage", |
38 | 38 | "jest:watch": "jest --watch", |
39 | 39 | "release": "npm test && tsx scripts/release", |
|
43 | 43 | }, |
44 | 44 | "devDependencies": { |
45 | 45 | "@eslint/js": "^10.0.0", |
46 | | - "@ianvs/prettier-plugin-sort-imports": "^4.7.0", |
47 | 46 | "@size-limit/esbuild-why": "^12.0.0", |
48 | 47 | "@size-limit/preset-small-lib": "^12.0.0", |
49 | 48 | "@types/fs-extra": "^11", |
|
58 | 57 | "knip": "^6.0.0", |
59 | 58 | "new-github-release-url": "^2.0.0", |
60 | 59 | "open": "^11.0.0", |
61 | | - "prettier": "^3.6.2", |
| 60 | + "oxfmt": "^0.42.0", |
62 | 61 | "rimraf": "^6.0.1", |
63 | 62 | "rolldown": "^1.0.0-rc.9", |
64 | 63 | "rollup-plugin-visualizer": "^7.0.0", |
|
0 commit comments