-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.71 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.71 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
{
"name": "findkit",
"version": "1.0.0",
"description": "",
"main": "index.js",
"repository": "github:findkit/wp-findkit",
"scripts": {
"test": "tsc && composer phpstan && composer phpcs",
"tsc": "tsc",
"phpstan": "composer phpstan",
"phpcs": "composer phpcs",
"phpstan-wp-env": "wp-env run cli sh -c 'cd wp-content/plugins/wp-findkit && php -d memory_limit=4G vendor/bin/phpstan analyze src *.php'",
"phpcs-wp-env": "wp-env run cli sh -c 'cd wp-content/plugins/wp-findkit && php vendor/bin/phpcs src *.php'",
"zip": "./tools/zip",
"wp-env": "wp-env",
"test-abilities": "wp-env run cli wp eval-file wp-content/plugins/wp-findkit/tests/abilities-smoke.php",
"test-abilities-wp71": "wp-env run tests-cli wp eval-file wp-content/plugins/wp-findkit/tests/abilities-smoke.php",
"prettier-write": "prettier --write src plugin.php tests",
"prettier-check": "prettier --check src plugin.php tests",
"dev": "git valu-hide-changes build && wp-scripts start src/scripts/*.ts*",
"build": "git valu-hide-changes build && wp-scripts build src/scripts/*.ts*",
"build-hide": "git valu-hide-changes build",
"build-commit": "npm run build && git valu-commit-changes build"
},
"author": "",
"license": "ISC",
"dependencies": {
"@findkit/ui": "^1.6.1",
"@prettier/plugin-php": "^0.19.2",
"prettier": "^2.8.0"
},
"devDependencies": {
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"@types/wordpress__block-editor": "^15.0.6",
"@types/wordpress__edit-post": "^8.4.2",
"@valu/git-tools": "^1.4.0",
"@wordpress/blocks": "^15.26.0",
"@wordpress/env": "^11.13.0",
"@wordpress/scripts": "^34.1.0",
"typescript": "^5.2.2"
},
"volta": {
"node": "22.13.0"
},
"engines": {
"node": ">=22.13.0"
}
}