-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
62 lines (62 loc) · 1.45 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
{
"name": "netzhexe/pagelocks",
"type": "grav-plugin",
"description": "Locks Grav pages when user is editing the page",
"keywords": [
"plugin"
],
"homepage": "https://github.com/skinofthesoul/grav-plugin-pagelocks",
"license": "MIT",
"authors": [
{
"name": "Netzhexe",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": ">=7.3.6"
},
"autoload": {
"psr-4": {
"Grav\\Plugin\\PageLocks\\": "classes/"
},
"classmap": [
"pagelocks.php"
]
},
"config": {
"platform": {
"php": "7.3.6"
}
},
"require-dev": {
"codeception/codeception": "^4.1",
"codeception/module-phpbrowser": "^1.0.0",
"codeception/module-asserts": "^1.0.0",
"codeception/module-webdriver": "^1.1",
"fakerphp/faker": "^1.9",
"getgrav/grav": "1.7.16",
"rockettheme/toolbox": "^1.5",
"vimeo/psalm": "^4.8"
},
"scripts": {
"psalm": "psalm --show-info=true",
"test": [
"@test-acceptance",
"@test-unit"
],
"test-acceptance": [
"@setpath",
"cd $SITEPATH && $PAGELOCKS/vendor/bin/codecept -c $PAGELOCKS/codeception.yml run acceptance"
],
"test-unit": [
"@setpath",
"cd $SITEPATH && php $PAGELOCKS/vendor/bin/codecept -c $PAGELOCKS/codeception.yml run unit"
],
"setpath": [
"@putenv SITEPATH=/www/grav/site-dev",
"@putenv PAGELOCKS=/www/grav/site-dev/user/plugins/pagelocks"
]
}
}