|
13 | 13 | "prepare": "husky", |
14 | 14 | "start": "wp-scripts start", |
15 | 15 | "test:e2e": "wp-scripts test-playwright", |
| 16 | + "test:e2e:debug": "wp-scripts test-playwright --ui", |
16 | 17 | "test:js": "wp-scripts test-unit-js", |
| 18 | + "test:js:update": "wp-scripts test-unit-js --updateSnapshot", |
17 | 19 | "test:performance": "wp-scripts test-playwright --config tests/performance/playwright.config.ts", |
18 | 20 | "test:performance:merge-reports": "playwright merge-reports --reporter tests/performance/config/performance-reporter.ts ./blob-report", |
19 | 21 | "test:performance:results": "node tests/performance/cli/results.js", |
|
29 | 31 | }, |
30 | 32 | "dependencies": { |
31 | 33 | "@testing-library/user-event": "^14.5.2", |
| 34 | + "@types/react-highlight": "^0.12.8", |
32 | 35 | "@wordpress/api-fetch": "^6.48.0", |
33 | 36 | "@wordpress/components": "^27.1.0", |
34 | 37 | "@wordpress/data": "^9.23.0", |
|
39 | 42 | "dotenv": "^16.4.5", |
40 | 43 | "react": "18.2.0", |
41 | 44 | "react-dom": "18.2.0", |
42 | | - "react-syntax-highlighter": "^15.5.0", |
| 45 | + "react-highlight": "^0.15.0", |
| 46 | + "react-highlight-syntax": "^1.2.1", |
| 47 | + "react-syntax-highlighter": "^15.4.3", |
43 | 48 | "react-test-renderer": "^18.2.0", |
44 | 49 | "ts-loader": "^9.5.1", |
45 | 50 | "typescript": "^5.4.2" |
|
50 | 55 | "@testing-library/react": "14.2.2", |
51 | 56 | "@types/jest": "^29.5.12", |
52 | 57 | "@types/node": "^20.12.5", |
53 | | - "@types/react-syntax-highlighter": "^15.5.11", |
| 58 | + "@types/react-syntax-highlighter": "15.5.6", |
54 | 59 | "@types/wordpress__components": "^23.0.11", |
55 | 60 | "@wordpress/e2e-test-utils-playwright": "^0.22.0", |
56 | 61 | "@wordpress/env": "^9.7.0", |
|
0 commit comments