Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 5.84 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 5.84 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "gatherpress",
"version": "0.37.0-alpha.0",
"description": "Powering Communities with WordPress",
"author": "",
"license": "GPL-2.0-or-later",
"keywords": [
"dates",
"events"
],
"homepage": "https://github.com/GatherPress/gatherpress#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/GatherPress/gatherpress.git"
},
"bugs": {
"url": "https://github.com/GatherPress/gatherpress/issues"
},
"files": [
"build",
"includes",
"gatherpress.php",
"CHANGELOG.md",
"SECURITY.md",
"uninstall.php"
],
"main": "index.js",
"devDependencies": {
"@anthropic-ai/claude-code": "^2.1.163",
"@jest/globals": "^30.2.0",
"@playwright/test": "^1.58.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@wordpress/a11y": "^4.42.0",
"@wordpress/api-fetch": "^7.41.0",
"@wordpress/block-editor": "^15.14.0",
"@wordpress/blocks": "^15.14.0",
"@wordpress/commands": "^1.41.0",
"@wordpress/components": "^32.3.0",
"@wordpress/compose": "^7.41.0",
"@wordpress/core-data": "^7.41.0",
"@wordpress/data": "^10.41.0",
"@wordpress/date": "^5.41.0",
"@wordpress/dom": "^4.41.0",
"@wordpress/dom-ready": "^4.41.0",
"@wordpress/e2e-test-utils-playwright": "^1.41.0",
"@wordpress/editor": "^14.41.0",
"@wordpress/element": "^6.41.0",
"@wordpress/env": "^11.13.0",
"@wordpress/hooks": "^4.41.0",
"@wordpress/html-entities": "^4.41.0",
"@wordpress/i18n": "^6.14.0",
"@wordpress/icons": "^11.8.0",
"@wordpress/interactivity": "^6.41.0",
"@wordpress/interactivity-router": "^2.41.0",
"@wordpress/plugins": "^7.41.0",
"@wordpress/rich-text": "^7.41.0",
"@wordpress/scripts": "^35.0.0",
"@wordpress/url": "^4.41.0",
"@wp-playground/cli": "^3.1.44",
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"dotenv": "^17.3.1",
"html-react-parser": "^5.2.17",
"jest-sonar-reporter": "^2.0.0",
"leaflet": "^1.9.4",
"leaflet-gesture-handling": "^1.2.2",
"lodash": "^4.18.1",
"moment": "^2.31.0",
"moment-timezone": "^0.6.0",
"patch-package": "^8.0.1",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"stylelint": "^17.15.0",
"stylelint-config-recommended-scss": "^17.0.1",
"stylelint-config-standard": "^40.0.0",
"stylelint-scss": "^7.3.0",
"uuid": "^14.0.0",
"webpack-remove-empty-scripts": "^1.1.1"
},
"overrides": {
"@wordpress/scripts": {
"@wordpress/env": "$@wordpress/env"
},
"@puppeteer/browsers": "^3.2.0",
"serialize-javascript": "^7.0.3",
"adm-zip": "^0.6.1",
"minimatch@3": "^3.1.4",
"minimatch@9": "9.0.7",
"qs": "^6.15.2",
"uuid": "$uuid",
"webpack-dev-server": "^5.2.4",
"@babel/core": "^7.29.6",
"markdown-it": "^14.2.0",
"proxy-addr": "^2.0.8",
"cssnano": "^7.1.9",
"lighthouse": {
"@sentry/node": "^10.76.1"
}
},
"scripts": {
"postinstall": "patch-package",
"build": "rimraf build && wp-scripts build --experimental-modules",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "wp-scripts lint-style --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "wp-scripts lint-js --fix",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:md:js": "wp-scripts lint-md-js",
"lint:php:early": "vendor/bin/phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 7.4- -s includes/core/duplicate-check.php includes/core/requirements-check.php includes/core/classes/admin/notices/class-base.php includes/core/classes/admin/notices/class-requires-php.php includes/core/classes/admin/notices/class-missing-build.php",
"lint:php": "vendor/bin/phpcs --standard=phpcs.ruleset.xml --extensions=php --colors -s -p -v .",
"lint:php:fix": "vendor/bin/phpcbf --standard=phpcs.ruleset.xml -p -v .",
"lint:phpstan": "vendor/bin/phpstan analyze -vv --memory-limit=2G",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "npm run build && wp-scripts plugin-zip",
"start": "wp-scripts start --experimental-modules",
"version:bump": "php .github/scripts/release/generate-version.php",
"screenshots:docs": "WP_BASE_URL='http://127.0.0.1:9400/' wp-scripts test-playwright --config .github/scripts/docs-screenshots/playwright.config.ts",
"screenshots:wporg": "WP_BASE_URL='http://127.0.0.1:9400/' wp-scripts test-playwright --config .github/scripts/wordpress-org-screenshots/playwright.config.ts",
"screenshots:wporg:debug": "npm run screenshots:wporg -- --debug",
"screenshots:wporg:ui": "npm run screenshots:wporg -- --ui",
"pretest:e2e": "wp-env start --config .wp-env.test.json",
"test:e2e": "playwright test --config=playwright.config.js",
"test:unit:js": "wp-scripts test-unit-js --coverage --testResultsProcessor=jest-sonar-reporter",
"pretest:unit:php": "wp-env start --config .wp-env.test.json --xdebug",
"test:unit:php": "wp-env run --config .wp-env.test.json wordpress php -dxdebug.mode=coverage /var/www/html/wp-content/plugins/gatherpress/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/gatherpress/phpunit.xml.dist --coverage-clover=coverage.xml --coverage-html=build/coverage-report",
"pretest:unit:php:multisite": "wp-env start --config .wp-env.test.json --xdebug",
"test:unit:php:multisite": "wp-env run --config .wp-env.test.json wordpress php -dxdebug.mode=coverage /var/www/html/wp-content/plugins/gatherpress/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/gatherpress/phpunit-multisite.xml.dist --coverage-clover=coverage-multisite.xml --coverage-html=build/coverage-report-multisite",
"wp-env": "wp-env",
"wp-env:cron:run": "./wp-cron.sh",
"playground": "./node_modules/@wp-playground/cli/wp-playground.js server",
"playground:mount": "./node_modules/@wp-playground/cli/wp-playground.js server --mount=./:/wordpress/wp-content/plugins/gatherpress",
"claude": "npx @anthropic-ai/claude-code"
}
}