|
5 | 5 | "private": true, |
6 | 6 | "packageManager": "[email protected]", |
7 | 7 | "scripts": { |
8 | | - "build": "next build && next-image-export-optimizer", |
9 | | - "serve": "pnpx serve out", |
10 | 8 | "analyze": "ANALYZE=true next build", |
| 9 | + "build": "next build && next-image-export-optimizer", |
11 | 10 | "check:links": "lychee --verbose --no-progress './src/pages/**/*.mdx' --base https://graphql.org", |
12 | 11 | "dev": "next", |
13 | 12 | "format": "pnpm format:check --write", |
|
17 | 16 | "lint:docs:ci": "eslint --ignore-path .gitignore src/pages/learn --format eslint-formatter-github", |
18 | 17 | "postbuild": "next-sitemap", |
19 | 18 | "prebuild": "tsx src/get-github-info.ts", |
| 19 | + "serve": "pnpx serve out", |
20 | 20 | "test": "playwright test", |
21 | 21 | "test:ui": "playwright test --ui", |
22 | 22 | "validate:snippets": "node scripts/validate-snippets.js" |
|
73 | 73 | "unist-util-visit": "^5.0.0", |
74 | 74 | "use-query-params": "^2.2.1" |
75 | 75 | }, |
| 76 | + "optionalDependencies": { |
| 77 | + "playwright": "^1.54.2" |
| 78 | + }, |
76 | 79 | "devDependencies": { |
77 | 80 | "@graphql-eslint/eslint-plugin": "4.3.0", |
78 | 81 | "@next/eslint-plugin-next": "^15.3.3", |
|
101 | 104 | "tsx": "^4.19.4", |
102 | 105 | "typescript": "^5.8.3" |
103 | 106 | }, |
104 | | - "optionalDependencies": { |
105 | | - "playwright": "^1.54.2" |
106 | | - }, |
107 | | - "pnpm": { |
108 | | - "patchedDependencies": { |
109 | | - "nextra": "patches/nextra.patch" |
110 | | - } |
111 | | - }, |
112 | 107 | "browserslist": [ |
113 | 108 | "chrome >0 and last 2.5 years", |
114 | 109 | "edge >0 and last 2.5 years", |
|
117 | 112 | "and_chr >0 and last 2.5 years", |
118 | 113 | "and_ff >0 and last 2.5 years", |
119 | 114 | "ios >0 and last 2.5 years" |
120 | | - ] |
| 115 | + ], |
| 116 | + "pnpm": { |
| 117 | + "patchedDependencies": { |
| 118 | + "nextra": "patches/nextra.patch" |
| 119 | + } |
| 120 | + } |
121 | 121 | } |
0 commit comments