| 1 |
{ |
| 2 |
"name": "cf7-antispam", |
| 3 |
"author": "Erik Golinelli <erik@codekraft.it>", |
| 4 |
"license": "GPL-2.0-only", |
| 5 |
"version": "0.7.6", |
| 6 |
"description": "AntiSpam for Contact Form 7", |
| 7 |
"files": [ |
| 8 |
"admin/*", |
| 9 |
"assets/icon.svg", |
| 10 |
"build/*", |
| 11 |
"core/*", |
| 12 |
"engine/*", |
| 13 |
"includes/*", |
| 14 |
"vendor/*", |
| 15 |
"languages/cf7-antispam.pot", |
| 16 |
"languages/readme.txt", |
| 17 |
"cf7-antispam.php", |
| 18 |
"composer.json", |
| 19 |
"LICENSE", |
| 20 |
"readme.txt" |
| 21 |
], |
| 22 |
"scripts": { |
| 23 |
"start": "wp-scripts start", |
| 24 |
"build": "wp-scripts build", |
| 25 |
"preplugin-zip": "npm run build && npm run makepot", |
| 26 |
"plugin-zip": "wp-scripts plugin-zip", |
| 27 |
"--postplugin-zip": "composer install", |
| 28 |
"lint:css": "wp-scripts lint-style ./src/**/*.scss --fix", |
| 29 |
"lint:js": "wp-scripts lint-js ./src/**/*.ts --fix", |
| 30 |
"packages-update": "wp-scripts packages-update", |
| 31 |
"wp-env:start": "wp-env start", |
| 32 |
"wp-env:xdebug": "wp-env start --xdebug", |
| 33 |
"wp-env:stop": "wp-env stop", |
| 34 |
"wp-env:destroy": "wp-env destroy", |
| 35 |
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js", |
| 36 |
"test:e2e:ui": "wp-scripts test-playwright --config tests/e2e/playwright.config.js --ui", |
| 37 |
"test:e2e:watch": "npm run test:e2e", |
| 38 |
"postinstall": "husky install", |
| 39 |
"makepot": "npx make-pot --silent", |
| 40 |
"PHPCS": "wp-env run cli composer --env-cwd=wp-content/plugins/cf7-antispam PHPCS", |
| 41 |
"composer:install": "wp-env run cli composer --env-cwd=wp-content/plugins/cf7-antispam setup", |
| 42 |
"composer:build": "wp-env run cli composer --env-cwd=wp-content/plugins/cf7-antispam build", |
| 43 |
"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" |
| 44 |
}, |
| 45 |
"repository": { |
| 46 |
"type": "git", |
| 47 |
"url": "git+https://github.com/erikyo/contact-form-7-antispam.git" |
| 48 |
}, |
| 49 |
"bugs": { |
| 50 |
"url": "https://github.com/erikyo/contact-form-7-antispam/issues" |
| 51 |
}, |
| 52 |
"homepage": "https://github.com/erikyo/contact-form-7-antispam#readme", |
| 53 |
"dependencies": { |
| 54 |
"chart.js": "^4.5.1", |
| 55 |
"isotolanguage": "^1.3.1" |
| 56 |
}, |
| 57 |
"devDependencies": { |
| 58 |
"@wordpress/api-fetch": "^7.34.0", |
| 59 |
"@wordpress/e2e-test-utils-playwright": "^1.34.0", |
| 60 |
"@wordpress/env": "10.26.0", |
| 61 |
"@wordpress/eslint-plugin": "^22.22.0", |
| 62 |
"@wordpress/icons": "^10.19.0", |
| 63 |
"@wordpress/scripts": "^31.2.0", |
| 64 |
"@wp-blocks/make-pot": "^1.6.4", |
| 65 |
"eslint-import-resolver-typescript": "^4.4.4", |
| 66 |
"husky": "^9.1.7", |
| 67 |
"prettier": "^3.7.4", |
| 68 |
"typescript": "^5.9.3" |
| 69 |
}, |
| 70 |
"browserslist": [ |
| 71 |
"extends @wordpress/browserslist-config", |
| 72 |
"Safari > 8", |
| 73 |
"IE > 10" |
| 74 |
], |
| 75 |
"eslintConfig": { |
| 76 |
"extends": [ |
| 77 |
"plugin:@wordpress/eslint-plugin/esnext", |
| 78 |
"plugin:@wordpress/eslint-plugin/recommended", |
| 79 |
"plugin:@wordpress/eslint-plugin/jsdoc", |
| 80 |
"plugin:@wordpress/eslint-plugin/i18n" |
| 81 |
], |
| 82 |
"rules": { |
| 83 |
"@wordpress/dependency-group": "error" |
| 84 |
} |
| 85 |
}, |
| 86 |
"stylelint": { |
| 87 |
"extends": [ |
| 88 |
"@wordpress/stylelint-config", |
| 89 |
"@wordpress/stylelint-config/scss" |
| 90 |
] |
| 91 |
}, |
| 92 |
"prettier": "@wordpress/prettier-config" |
| 93 |
} |
| 94 |
|