-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 3.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "ai",
"private": true,
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/WordPress/ai.git"
},
"wpPlugin": {
"name": "ai",
"handlePrefix": "ai",
"pages": [
"ai"
]
},
"files": [
"assets",
"build",
"build-scripts",
"includes",
"vendor",
"README.md",
"readme.txt",
"ai.php"
],
"scripts": {
"build:legacy": "wp-scripts build",
"build:routes": "wp-build && node tools/ensure-boot-asset.cjs",
"build": "npm run build:legacy && npm run build:routes",
"format": "wp-scripts format",
"lint:js:fix": "wp-scripts lint-js --fix",
"lint:js": "wp-scripts lint-js",
"lint:php:fix": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/ai composer run-script format",
"lint:php:stan": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/ai composer run-script phpstan",
"lint:php": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/ai composer run-script lint",
"plugin-zip": "wp-scripts plugin-zip",
"start:legacy": "wp-scripts start",
"start:routes": "node tools/ensure-boot-asset.cjs && wp-build --watch",
"start": "concurrently -k -n legacy,routes \"npm run start:legacy\" \"npm run start:routes\"",
"test:e2e:debug": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts --ui",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts",
"test:php": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/ai vendor/bin/phpunit -c phpunit.xml.dist",
"typecheck": "tsc --noEmit",
"wp-env": "wp-env",
"wp-env:cli": "wp-env run cli --env-cwd=wp-content/plugins/ai",
"wp-env:test": "wp-env --config=.wp-env.test.json"
},
"devDependencies": {
"@playwright/test": "1.61.1",
"@types/react": "18.3.31",
"@types/react-dom": "18.3.7",
"@types/wordpress__block-editor": "15.0.6",
"@types/wordpress__edit-post": "8.4.2",
"@wordpress/build": "0.18.0",
"@wordpress/e2e-test-utils-playwright": "1.50.0",
"@wordpress/env": "11.10.0",
"@wordpress/prettier-config": "4.50.0",
"@wordpress/scripts": "32.6.0",
"concurrently": "10.0.3",
"filenamify": "7.0.2",
"typescript": "5.9.3",
"webpack-remove-empty-scripts": "1.1.1"
},
"dependencies": {
"@wordpress/a11y": "4.44.0",
"@wordpress/abilities": "0.11.0",
"@wordpress/admin-ui": "2.0.0",
"@wordpress/api-fetch": "7.44.0",
"@wordpress/block-editor": "15.17.0",
"@wordpress/blocks": "15.17.0",
"@wordpress/components": "32.6.0",
"@wordpress/compose": "7.44.0",
"@wordpress/core-abilities": "0.10.0",
"@wordpress/core-data": "7.44.0",
"@wordpress/data": "10.44.0",
"@wordpress/dataviews": "14.1.0",
"@wordpress/date": "5.44.0",
"@wordpress/dom": "4.47.0",
"@wordpress/dom-ready": "4.44.0",
"@wordpress/edit-post": "8.44.0",
"@wordpress/editor": "14.44.0",
"@wordpress/element": "6.44.0",
"@wordpress/hooks": "4.44.0",
"@wordpress/i18n": "6.17.0",
"@wordpress/icons": "12.2.0",
"@wordpress/notices": "5.44.0",
"@wordpress/plugins": "7.44.0",
"@wordpress/primitives": "4.45.0",
"@wordpress/ui": "0.12.0",
"@wordpress/url": "4.44.0",
"@wordpress/wordcount": "4.44.0",
"react": "18.3.1"
},
"overrides": {
"@babel/core@<=7.29.0": "^7.29.1",
"@babel/runtime@<7.26.10": "^7.26.10",
"@types/react-dom": "18.3.7",
"@types/react": "18.3.31",
"@wordpress/theme@<0.11.0": "^0.11.0",
"basic-ftp@<=5.2.0": "^5.2.0",
"fast-xml-parser@<=5.3.0": "^5.3.0",
"markdownlint-cli": {
"minimatch@<3.1.4": "^3.1.4"
},
"postcss@<8.5.10": ">=8.5.10",
"prettier": "npm:wp-prettier@^3",
"react": "18.3.1",
"react-dom": "18.3.1",
"serialize-javascript@<7.0.3": "^7.0.3",
"uuid@<11.1.1": "^11.1.1",
"webpack-dev-server@<=5.2.0": "^5.2.1"
},
"engines": {
"node": ">=22.21.1",
"npm": ">=10.9.4"
}
}