Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 3.61 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 3.61 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
{
"name": "wp-stream",
"private": true,
"description": "Stream tracks logged-in user activity so you can monitor every change made on your WordPress site in beautifully organized detail. All activity is organized by context, action and IP address for easy filtering. Developers can extend Stream with custom connectors to log any kind of action.",
"main": "stream.php",
"author": "XWP",
"license": "GPLv2+",
"engines": {
"node": "^24.22.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xwp/stream.git"
},
"bugs": {
"url": "https://github.com/xwp/stream/issues"
},
"homepage": "https://github.com/xwp/stream#readme",
"keywords": [
"wp",
"stream",
"activity",
"logs",
"track"
],
"devDependencies": {
"@playwright/test": "^1.64.1",
"@types/node": "^24.19.2",
"@wordpress/e2e-test-utils-playwright": "^1.46.0",
"@wordpress/env": "^10.39.0",
"@wordpress/eslint-plugin": "^25.2.0",
"@wordpress/scripts": "^32.2.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.13.0",
"jquery": "4.0.0",
"npm-run-all2": "^9.0.4"
},
"scripts": {
"build": "wp-scripts build",
"dev": "wp-scripts start",
"lint": "npm-run-all lint:*",
"lint:js": "wp-scripts lint-js",
"lint:php": "composer lint",
"lint:php-tests": "composer lint-tests",
"format": "npm-run-all format:*",
"format:php": "composer format",
"format:js": "npm run lint:js -- --fix",
"test": "npm-run-all test:*",
"test:php-unit": "wp-env start && wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$PWD\") -- composer test-unit",
"test:php": "wp-env start && wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$PWD\") -- composer test",
"test:php-multisite": "wp-env start && wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$PWD\") -- composer test-multisite",
"test-e2e": "wp-scripts test-playwright",
"test-e2e-debug": "wp-scripts test-playwright --debug",
"test-xdebug": "wp-env start --xdebug && wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$PWD\") -- composer test-xdebug",
"test-one": "wp-env start && wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$PWD\") -- composer test-one --",
"test-report": "composer test-report",
"start": "wp-env start",
"start-xdebug": "wp-env start --xdebug",
"switch-to:php7.4": "WP_ENV_PHP_VERSION=7.4 wp-env start --update",
"switch-to:php8.2": "WP_ENV_PHP_VERSION=8.2 wp-env start --update",
"switch-to:php8.3": "WP_ENV_PHP_VERSION=8.3 wp-env start --update",
"switch-to:php8.4": "WP_ENV_PHP_VERSION=8.4 wp-env start --update",
"which-php": "wp-env run cli -- php --version",
"document:connectors": "php ./local/scripts/generate-connector-docs.php",
"docs:hooks": "php ./local/scripts/generate-hook-docs.php",
"stop": "wp-env stop",
"stop-all": "docker stop $(docker ps -a -q)",
"logs": "wp-env logs",
"cli": "wp-env run cli --",
"large-records-remove": "slug=$(basename \"$PWD\") && wp-env run cli -- bash -c \"wp db query < wp-content/plugins/$slug/local/scripts/large-datasets/remove-test-logs.sql\"",
"large-records-generate": "slug=$(basename \"$PWD\") && wp-env run cli -- bash -c \"wp db query < wp-content/plugins/$slug/local/scripts/large-datasets/bulk-insert-logs.sql\"",
"large-records-show": "slug=$(basename \"$PWD\") && wp-env run cli -- bash -c \"wp db query < wp-content/plugins/$slug/local/scripts/large-datasets/show-stream-db-stats.sql\""
},
"overrides": {
"@wordpress/e2e-test-utils-playwright": {
"@types/node": "$@types/node"
}
}
}