-
Notifications
You must be signed in to change notification settings - Fork 116
/
package.json
77 lines (77 loc) · 3.51 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
{
"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": "^22.12.0"
},
"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.49.0",
"@types/node": "^22.10.1",
"@wordpress/e2e-test-utils-playwright": "^1.13.0",
"@wordpress/eslint-plugin": "^21.6.0",
"@wordpress/scripts": "^30.6.0",
"copy-webpack-plugin": "^12.0.2",
"eslint-plugin-react-hooks": "^5.0.0",
"jquery": "3.7.1",
"npm-run-all2": "^7.0.1",
"uuid": "^11.0.3"
},
"scripts": {
"build": "wp-scripts build",
"dev": "wp-scripts start",
"lint": "npm-run-all lint:*",
"lint:js": "DEBUG=eslint:cli-engine 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": "npm run cli -- composer test --working-dir=wp-content/plugins/stream-src",
"test:php-multisite": "npm run cli -- composer test-multisite --working-dir=wp-content/plugins/stream-src",
"test-e2e": "wp-scripts test-playwright",
"test-e2e-debug": "wp-scripts test-playwright --debug",
"test-xdebug": "npm run cli -- composer test-xdebug --working-dir=wp-content/plugins/stream-src",
"test-one": "npm run cli -- composer test-one --working-dir=wp-content/plugins/stream-src --",
"test-report": "npm run cli -- composer test-report --working-dir=wp-content/plugins/stream-src",
"build-containers": "docker compose --file docker-compose.build.yml build",
"push-containers": "docker compose --file docker-compose.build.yml push",
"start": "docker compose up --remove-orphans --detach",
"start-xdebug": "XDEBUG_TRIGGER=1 docker compose up --remove-orphans --detach",
"switch-to:php8.2": "docker compose build --build-arg PHP_VERSION=8.2 --build-arg XDEBUG_VERSION=3.3.2 && npm run start",
"switch-to:php7.4": "docker compose build && npm run start",
"which-php": "npm run cli -- php --version",
"document:connectors": "php ./local/scripts/generate-connector-docs.php",
"stop": "docker compose down",
"stop-all": "docker stop $(docker ps -a -q)",
"logs": "docker compose logs --follow",
"cli": "docker compose run --rm --user $(id -u) wordpress --",
"large-records-remove": "npm run cli -- /bin/sh -c 'mysql mysql -hmysql -uroot -ppassword < /var/local/scripts/large-datasets/remove-test-logs.sql'",
"large-records-generate": "npm run cli -- /bin/sh -c 'mysql mysql -hmysql -uroot -ppassword < /var/local/scripts/large-datasets/bulk-insert-logs.sql'",
"large-records-show": "npm run cli -- /bin/sh -c 'mysql mysql -hmysql -uroot -ppassword < /var/local/scripts/large-datasets/show-stream-db-stats.sql'",
"install-wordpress": "npm run cli wp core multisite-install"
},
"dependencies": {
"select2": "^4.0.13",
"timeago": "^1.6.7"
}
}