-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 1.74 KB
/
composer.json
File metadata and controls
80 lines (80 loc) · 1.74 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
80
{
"name": "datakit/plugin",
"description": "Easily create your own DataViews components with just PHP.",
"license": "GPL-2.0-or-later",
"type": "library",
"autoload": {
"psr-4": {
"DataKit\\Plugin\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DataKit\\Plugin\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Doeke Norg",
"email": "doeke@gravitykit.com"
}
],
"repositories": [
{
"type": "vcs",
"url": "git@github.com:UseDataKit/SDK.git"
},
{
"type": "vcs",
"url": "git@github.com:gravityforms/gravityforms.git"
}
],
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"datakit/sdk": "dev-main"
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.4.21"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"gravityforms/gravityforms": "dev-master",
"phpunit/phpunit": "~8.5",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "^3.1",
"squizlabs/php_codesniffer": "^3.10",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"overtrue/phplint": "^3.4",
"roots/wordpress-no-content": "^6.6"
},
"scripts": {
"build": [
"rm -rf assets && cp -r ./vendor/datakit/sdk/assets assets"
],
"suite": [
"composer test",
"composer linter",
"composer sniffer",
"composer analyse"
],
"test": "./vendor/bin/phpunit",
"analyse": "./vendor/bin/phpstan analyse",
"sniffer": "./vendor/bin/phpcs",
"format": "./vendor/bin/phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
"linter": "./vendor/bin/phplint --no-progress --no-cache -v",
"post-install-cmd": [
"composer dump-autoload -o",
"@build"
],
"post-update-cmd": [
"composer dump-autoload -o",
"@build"
]
}
}