-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
34 lines (34 loc) · 1.63 KB
/
package.json
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
{
"name": "ai-services",
"license": "GPL-2.0-or-later",
"repository": "git+https://github.com/felixarntz/ai-services.git",
"devDependencies": {
"@wordpress/dependency-extraction-webpack-plugin": "^6.5.0",
"@wordpress/env": "^10.4.0",
"@wordpress/scripts": "^28.4.0",
"fast-glob": "^3.3.2"
},
"dependencies": {
"@wordpress/icons": "^10.5.0",
"@wordpress/interface": "^6.4.0",
"clsx": "^2.1.1",
"markdown-to-jsx": "^7.5.0",
"memize": "^2.1.0",
"prop-types": "^15.8.1"
},
"scripts": {
"build": "wp-scripts build",
"format-css": "wp-scripts lint-style --fix",
"format-js": "wp-scripts format",
"format-php": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer format",
"phpstan": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer phpstan",
"lint-css": "wp-scripts lint-style",
"lint-js": "wp-scripts lint-js",
"lint-php": "wp-env run cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer lint",
"pretest-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer --working-dir=php-tools/test update",
"test-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) php-tools/test/vendor/bin/phpunit -c phpunit.xml.dist --verbose",
"pretest-php-multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) composer --working-dir=php-tools/test update",
"test-php-multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd)) php-tools/test/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose",
"wp-env": "wp-env"
}
}