-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
67 lines (67 loc) · 3.41 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
{
"name": "simple-history",
"version": "5.4.4",
"description": "WordPress audit log and history plugin with nice GUI",
"author": "Pär Thernström",
"license": "GPL",
"prettier": "@wordpress/prettier-config",
"devDependencies": {
"@wordpress/eslint-plugin": "^21.3.0",
"@wordpress/prettier-config": "^4.4.0",
"@wordpress/scripts": "^27.0",
"eslint-plugin-prettier": "^5.2.1",
"gitattributes-globs": "^1",
"gitignore-globs": "^0.1",
"grunt": "^1.5.2",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-copy": "^1",
"grunt-version": "^3",
"grunt-wp-deploy": "git+https://github.com/johnbillion/grunt-wp-deploy.git#master",
"grunt-wp-i18n": "^1.0.3",
"grunt-wp-readme-to-markdown": "^2.1.0",
"load-grunt-tasks": "^5.1.0",
"postcss": "^8.4.49",
"prettier": "npm:wp-prettier@^3.0"
},
"scripts": {
"bump:major": "grunt bump:major",
"bump:minor": "grunt bump:minor",
"bump:patch": "grunt bump:patch",
"deploy:assets": "grunt deploy:assets",
"deploy:ci": "grunt deploy:ci",
"deploy": "grunt deploy",
"deploy_without_tag": "grunt wp_deploy:deploy_without_tag",
"grunt": "grunt",
"php:lint": "composer run lint",
"php:lint-fix": "composer run lint-fix",
"php:phpstan": "vendor/bin/phpstan analyse --memory-limit 2048M",
"php:rector": "vendor/bin/rector process --dry-run",
"php:rector-fix": "vendor/bin/rector process",
"test": "npm run test:php74 && npm run test:php81",
"test:php74": "npm run test:wpunit && npm run test:functional && npm run test:acceptance",
"test:php74-mysql55": "DB_IMAGE=biarms/mysql:5.5 DB_DATA_DIR=./data/mysql-5.5 npm run test:wpunit && npm run test:functional && npm run test:acceptance",
"test:php81": "PHP_CLI_VERSION=81 PHP_VERSION=8.1 npm run test:wpunit && npm run test:functional && npm run test:acceptance",
"test:php81-mysql55": "PHP_CLI_VERSION=81 PHP_VERSION=8.1 DB_IMAGE=biarms/mysql:5.5 DB_DATA_DIR=./data/mysql-5.5 npm run test:wpunit && npm run test:functional && npm run test:acceptance",
"test:php81-mysql57": "PHP_CLI_VERSION=81 PHP_VERSION=8.1 DB_IMAGE=biarms/mysql:5.7 DB_DATA_DIR=./data/mysql-5.7 npm run test:wpunit && npm run test:functional && npm run test:acceptance",
"test:wpunit": "docker compose run --rm php-cli vendor/bin/codecept run wpunit",
"test:functional": "docker compose run --rm php-cli vendor/bin/codecept run functional",
"test:acceptance": "docker compose run --rm php-cli vendor/bin/codecept run acceptance",
"spell-check": "typos",
"spell-check:write-changes": "typos --write-changes",
"test:log-query-mysq55": "PHP_CLI_VERSION=81 PHP_VERSION=8.1 DB_IMAGE=biarms/mysql:5.5 DB_DATA_DIR=./data/mysql-5.5 npm run test:wpunit-logquery",
"test:log-query-mysq57": "PHP_CLI_VERSION=81 PHP_VERSION=8.1 DB_IMAGE=biarms/mysql:5.7 DB_DATA_DIR=./data/mysql-5.7 npm run test:wpunit-logquery",
"test:log-query-mariadb105": "PHP_CLI_VERSION=81 PHP_VERSION=8.1 DB_IMAGE=mariadb:10.5 DB_DATA_DIR=./data/mysql npm run test:wpunit-logquery",
"test:wpunit-logquery": "docker compose run --rm php-cli vendor/bin/codecept run wpunit:LogQueryTest",
"start": "wp-scripts start src/index.js src/index-admin-bar.js",
"build": "wp-scripts build src/index.js src/index-admin-bar.js",
"format": "wp-scripts format ./src",
"lint:css": "wp-scripts lint-style ./src",
"lint:js": "wp-scripts lint-js ./src"
},
"dependencies": {
"@wordpress/icons": "^10.6.0",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"react-intersection-observer": "^9.13.1"
}
}