forked from bonny/WordPress-Simple-History
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 3.27 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": "4.14.0",
"description": "WordPress audit log and history plugin with nice GUI",
"author": "Pär Thernström",
"license": "GPL",
"devDependencies": {
"gitattributes-globs": "^1",
"gitignore-globs": "^0.1",
"grunt": "^1.5.2",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-copy": "^1",
"grunt-pot": "^0.2.1",
"grunt-version": "^2",
"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",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"load-grunt-tasks": "^5.1.0",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"time-grunt": "^1.4.0"
},
"dependencies": {},
"husky": {
"hooks": {
"disabled-pre-commit": "lint-staged && pretty-quick --staged"
}
},
"scripts": {
"makepot": "grunt makepot",
"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"
},
"lint-staged": {
"*.php": [
"./vendor/bin/phpcs --extensions=php --warning-severity=8 -s"
]
}
}