-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
73 lines (73 loc) · 2.2 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
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
{
"name": "cf7-antispam",
"author": "Erik Golinelli",
"license": "GPL-2.0-only",
"version": "0.6.3",
"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",
"LICENSE",
"readme.txt"
],
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"preplugin----zip": "wp-env run cli --env-cwd=wp-content/plugins/cf7-antispam \"composer install --no-dev && composer dump-autoload --optimize\"",
"plugin-zip": "wp-scripts plugin-zip",
"postplugin----zip": "wp-env run cli --env-cwd=wp-content/plugins/cf7-antispam \"composer install\"",
"lint:css": "wp-scripts lint-style ./src/**/*.scss --fix",
"lint:js": "wp-scripts lint-js ./src/**/*.js --fix",
"packages-update": "wp-scripts packages-update",
"wp-env:start": "wp-env start",
"wp-env:stop": "wp-env stop",
"wp-env:destroy": "wp-env destroy",
"test:e2e": "wp-scripts test-e2e",
"test:e2e:watch": "npm run test:e2e --watch",
"postinstall": "husky install",
"makepot": "npx @wp-blocks/make-pot",
"PHPCS": "wp-env run composer \"composer PHPCS\"",
"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",
"devDependencies": {
"@wordpress/e2e-test-utils": "^10.21.0",
"@wordpress/env": "^9.2.0",
"@wordpress/eslint-plugin": "^17.7.0",
"@wordpress/scripts": "^27.1.0",
"chart.js": "^4.4.1",
"expect-puppeteer": "^9.0.2",
"husky": "^9.0.6"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.9.0"
},
"browserslist": [
"extends @wordpress/browserslist-config",
"Safari > 8",
"IE > 10"
],
"stylelint": {
"extends": [
"@wordpress/stylelint-config",
"@wordpress/stylelint-config/scss"
]
},
"prettier": "@wordpress/prettier-config"
}