-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
93 lines (93 loc) · 3.71 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "gatherpress",
"version": "0.32.0-alpha.2",
"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"
},
"main": "index.js",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@playwright/test": "^1.49.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@wordpress/api-fetch": "^7.14.0",
"@wordpress/block-editor": "^14.9.0",
"@wordpress/blocks": "^14.3.0",
"@wordpress/components": "^29.0.0",
"@wordpress/compose": "^7.14.0",
"@wordpress/core-data": "^7.14.0",
"@wordpress/data": "^10.14.0",
"@wordpress/date": "^5.14.0",
"@wordpress/dom-ready": "^4.14.0",
"@wordpress/e2e-test-utils-playwright": "^1.14.0",
"@wordpress/editor": "^14.14.0",
"@wordpress/element": "^6.14.0",
"@wordpress/env": "^10.14.0",
"@wordpress/eslint-plugin": "^22.0.0",
"@wordpress/i18n": "^5.14.0",
"@wordpress/icons": "^10.14.0",
"@wordpress/interactivity": "^6.14.0",
"@wordpress/interactivity-router": "^2.14.0",
"@wordpress/plugins": "^7.14.0",
"@wordpress/scripts": "^30.7.0",
"@wp-playground/cli": "^1.0.18",
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"dotenv": "^16.4.7",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"html-react-parser": "^5.2.2",
"jest-sonar-reporter": "^2.0.0",
"leaflet": "^1.9.4",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"moment-timezone": "^0.5.46",
"playwright": "^1.49.1",
"react-modal": "^3.16.3",
"react-tooltip": "^5.28.0",
"rimraf": "^6.0.1",
"stylelint-config-standard": "^36.0.1",
"uuid": "^11.0.3"
},
"scripts": {
"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": "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:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start --experimental-modules",
"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",
"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 --xdebug",
"test:unit:php": "wp-env run tests-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",
"wp-env": "wp-env",
"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"
}
}