-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.64 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.64 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
{
"name": "ai",
"private": true,
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/WordPress/ai.git"
},
"files": [
"build",
"includes",
"vendor",
"README.md",
"readme.txt",
"ai.php"
],
"scripts": {
"plugin-zip": "wp-scripts plugin-zip",
"build": "wp-scripts build",
"start": "wp-scripts start",
"format:js": "wp-scripts format ./src",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "wp-scripts lint-js --fix",
"lint:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/ai composer run-script lint",
"lint:php:fix": "wp-env run tests-cli --env-cwd=wp-content/plugins/ai composer run-script format",
"lint:php:stan": "wp-env run tests-cli --env-cwd=wp-content/plugins/ai composer run-script phpstan",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/ai vendor/bin/phpunit -c phpunit.xml.dist",
"test:e2e:env:start": "node tests/bin/add-mocking-plugin.js && wp-env start",
"test:e2e:env:stop": "rm -f .wp-env.override.json && wp-env stop",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts",
"test:e2e:debug": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts --ui",
"typecheck": "tsc --noEmit",
"wp-env": "wp-env"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@types/wordpress__block-editor": "^15.0.0",
"@types/wordpress__blocks": "^12.5.18",
"@types/wordpress__edit-post": "^8.4.2",
"@wordpress/e2e-test-utils-playwright": "^1.37.0",
"@wordpress/env": "^10.37.0",
"@wordpress/scripts": "^31.2.0",
"filenamify": "^7.0.1",
"typescript": "^5.9.3",
"webpack-remove-empty-scripts": "^1.1.1"
},
"dependencies": {
"@wordpress/api-fetch": "^7.36.0",
"@wordpress/block-editor": "^15.7.0",
"@wordpress/blocks": "^15.12.0",
"@wordpress/components": "^30.7.0",
"@wordpress/compose": "^7.34.0",
"@wordpress/core-data": "^7.37.0",
"@wordpress/data": "^10.34.0",
"@wordpress/dom-ready": "^4.38.0",
"@wordpress/edit-post": "^8.36.0",
"@wordpress/editor": "^14.34.0",
"@wordpress/element": "^6.34.0",
"@wordpress/hooks": "^4.35.0",
"@wordpress/i18n": "^6.7.0",
"@wordpress/icons": "^11.1.0",
"@wordpress/notices": "^5.35.0",
"@wordpress/plugins": "^7.34.0",
"@wordpress/url": "^4.38.0",
"react": "^18.3.1"
},
"overrides": {
"webpack-dev-server@<=5.2.0": ">=5.2.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"engines": {
"node": ">=22.21.1",
"npm": ">=10.9.4"
}
}