-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.92 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.92 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
{
"name": "cf7-antispam",
"author": "Erik Golinelli <erik@codekraft.it>",
"license": "GPL-2.0-only",
"version": "0.7.6",
"description": "AntiSpam for Contact Form 7",
"files": [
"admin/*",
"assets/icon.svg",
"build/*",
"core/*",
"engine/*",
"includes/*",
"vendor/*",
"languages/cf7-antispam.pot",
"languages/readme.txt",
"cf7-antispam.php",
"composer.json",
"LICENSE",
"readme.txt"
],
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"preplugin-zip": "npm run build && npm run makepot",
"plugin-zip": "wp-scripts plugin-zip",
"--postplugin-zip": "composer install",
"lint:css": "wp-scripts lint-style ./src/**/*.scss --fix",
"lint:js": "wp-scripts lint-js ./src/**/*.ts --fix",
"packages-update": "wp-scripts packages-update",
"wp-env:start": "wp-env start",
"wp-env:xdebug": "wp-env start --xdebug",
"wp-env:stop": "wp-env stop",
"wp-env:destroy": "wp-env destroy",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
"test:e2e:ui": "wp-scripts test-playwright --config tests/e2e/playwright.config.js --ui",
"test:e2e:watch": "npm run test:e2e",
"postinstall": "husky install",
"makepot": "npx make-pot --silent",
"PHPCS": "wp-env run cli composer --env-cwd=wp-content/plugins/cf7-antispam PHPCS",
"composer:install": "wp-env run cli composer --env-cwd=wp-content/plugins/cf7-antispam setup",
"composer:build": "wp-env run cli composer --env-cwd=wp-content/plugins/cf7-antispam build",
"test:unit:php": "wp-env run tests-wordpress /var/www/html/wp-content/plugins/cf7-antispam/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/cf7-antispam/phpunit.xml.dist --verbose"
},
"repository": {
"type": "git",
"url": "git+https://github.com/erikyo/contact-form-7-antispam.git"
},
"bugs": {
"url": "https://github.com/erikyo/contact-form-7-antispam/issues"
},
"homepage": "https://github.com/erikyo/contact-form-7-antispam#readme",
"dependencies": {
"chart.js": "^4.5.1",
"isotolanguage": "^1.3.1"
},
"devDependencies": {
"@wordpress/api-fetch": "^7.34.0",
"@wordpress/e2e-test-utils-playwright": "^1.34.0",
"@wordpress/env": "10.26.0",
"@wordpress/eslint-plugin": "^22.22.0",
"@wordpress/icons": "^10.19.0",
"@wordpress/scripts": "^31.2.0",
"@wp-blocks/make-pot": "^1.6.4",
"eslint-import-resolver-typescript": "^4.4.4",
"husky": "^9.1.7",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
},
"browserslist": [
"extends @wordpress/browserslist-config",
"Safari > 8",
"IE > 10"
],
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/esnext",
"plugin:@wordpress/eslint-plugin/recommended",
"plugin:@wordpress/eslint-plugin/jsdoc",
"plugin:@wordpress/eslint-plugin/i18n"
],
"rules": {
"@wordpress/dependency-group": "error"
}
},
"stylelint": {
"extends": [
"@wordpress/stylelint-config",
"@wordpress/stylelint-config/scss"
]
},
"prettier": "@wordpress/prettier-config"
}