-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
87 lines (87 loc) · 3.26 KB
/
composer.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
{
"name": "automattic/jetpackcrm",
"description": "[Jetpack CRM](https://jetpackcrm.com) Core CRM Plugin - WordPress.org Hosted",
"require-dev": {
"automattic/jetpack-changelogger": "^6.0.2",
"codeception/codeception": "^4.1 || ^5.0",
"codeception/module-asserts": "^2.0 || ^3.0",
"codeception/module-phpbrowser": "^2.0 || ^3.0",
"codeception/module-webdriver": "^2.0 || ^3.0 || ^4.0",
"codeception/module-db": "^2.0 || 3.1.0 || ^3.1.2",
"codeception/module-filesystem": "^2.0 || ^3.0",
"codeception/util-universalframework": "^1.0",
"yoast/phpunit-polyfills": "^3.0.0",
"automattic/phpunit-select-config": "^1.0.1"
},
"scripts": {
"build-development": [
"pnpm run build"
],
"build-production": [
"pnpm run build-production"
],
"test-coverage": [
"php -dpcov.directory=. ./vendor/bin/phpunit-select-config phpunit.#.xml.dist --coverage-php \"$COVERAGE_DIR/php.cov\""
],
"tests": "vendor/bin/codecept run acceptance --fail-fast",
"tests-debug": "vendor/bin/codecept run acceptance --fail-fast --debug",
"create-test": "vendor/bin/codecept generate:cest acceptance $1",
"build-tests": "vendor/bin/codecept build",
"cs": "temp=$(git diff --diff-filter=d --name-only trunk HEAD | grep '.php'); [[ -n $temp ]] && phpcs-changed -s --always-exit-zero --git --git-base trunk $temp || echo 'No changes found.'",
"cs-security": "temp=$(git diff --diff-filter=d --name-only trunk HEAD | grep '.php'); [[ -n $temp ]] && phpcs-changed -s --standard=phpcs.security.xml$([[ ! -f phpcs.security.xml ]] && echo .dist) --always-exit-zero --git --git-base trunk $temp || echo 'No changes found.'",
"cs-staged": "temp=$(git diff --diff-filter=d --name-only --cached | grep '.php'); [[ -n $temp ]] && phpcs-changed -s --always-exit-zero --git --git-staged $temp || echo 'No changes found.'",
"cs-unstaged": "temp=$(git diff --diff-filter=d --name-only | grep '.php'); [[ -n $temp ]] && phpcs-changed -s --always-exit-zero --git --git-unstaged $temp || echo 'No changes found.'",
"phpunit": [
"phpunit-select-config phpunit.#.xml.dist --colors=always"
],
"skip-test-php": "tests/action-skip-test-php.sh",
"test-php": [
"@composer phpunit",
"tests/action-test-php.sh"
],
"test-js": "pnpm run test",
"watch": [
"Composer\\Config::disableProcessTimeout",
"pnpm run watch"
]
},
"config": {
"autoloader-suffix": "06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_6_0_alpha",
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true,
"roots/wordpress-core-installer": true
}
},
"require": {
"php": ">=7.4",
"automattic/jetpack-assets": "^4.0.14",
"automattic/jetpack-autoloader": "^5.0.5",
"automattic/jetpack-composer-plugin": "^4.0.4",
"automattic/woocommerce": "^3.1",
"dompdf/dompdf": "^2.0"
},
"autoload": {
"classmap": [
"src/"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"autotagger": {
"v": false
},
"autorelease": true,
"mirror-repo": "Automattic/jetpack-crm",
"changelogger": {
"link-template": "https://github.com/Automattic/jetpack-crm/compare/${old}...${new}"
},
"release-branch-prefix": "crm",
"version-constants": {
"::VERSION": "includes/ZeroBSCRM.Core.php"
},
"wp-plugin-slug": "zero-bs-crm",
"wp-svn-autopublish": true
}
}