File tree Expand file tree Collapse file tree 9 files changed +53
-1
lines changed Expand file tree Collapse file tree 9 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7"
4
+ },
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_TARGET=helloGet php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
4
10
}
5
11
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7"
4
+ },
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_TARGET=helloHttp php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
4
10
}
5
11
}
Original file line number Diff line number Diff line change 2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7.1"
4
4
},
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=helloworldPubsub php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
10
+ },
5
11
"require-dev" : {
6
12
"google/cloud-pubsub" : " ^1.29" ,
7
13
"google/cloud-logging" : " ^1.21"
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7"
4
+ },
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_TARGET=helloContent php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
4
10
}
5
11
}
Original file line number Diff line number Diff line change 5
5
"google/cloud-vision" : " ^1.2" ,
6
6
"ext-imagick" : " *"
7
7
},
8
+ "scripts" : {
9
+ "start" : [
10
+ " Composer\\ Config::disableProcessTimeout" ,
11
+ " FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=blurOffensiveImages php -S localhost:${PORT:-8080} vendor/bin/router.php"
12
+ ]
13
+ },
8
14
"require-dev" : {
9
15
"google/cloud-logging" : " ^1.21"
10
16
}
Original file line number Diff line number Diff line change 4
4
"google/apiclient" : " ^2.8"
5
5
},
6
6
"scripts" : {
7
- "post-update-cmd" : " Google\\ Task\\ Composer::cleanup"
7
+ "post-update-cmd" : " Google\\ Task\\ Composer::cleanup" ,
8
+ "start" : [
9
+ " Composer\\ Config::disableProcessTimeout" ,
10
+ " FUNCTION_TARGET=receiveRequest php -S localhost:${PORT:-8080} vendor/bin/router.php"
11
+ ]
8
12
},
9
13
"extra" : {
10
14
"google/apiclient-services" : [
Original file line number Diff line number Diff line change 2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7.1"
4
4
},
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_SIGNATURE_TYPE=cloudevent FUNCTION_TARGET=avoidInfiniteRetries php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
10
+ },
5
11
"require-dev" : {
6
12
"google/cloud-pubsub" : " ^1.29" ,
7
13
"google/cloud-logging" : " ^1.21"
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7.1"
4
+ },
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_TARGET=phpInfoDemo php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
4
10
}
5
11
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"require" : {
3
3
"google/cloud-functions-framework" : " ^0.7.1"
4
+ },
5
+ "scripts" : {
6
+ "start" : [
7
+ " Composer\\ Config::disableProcessTimeout" ,
8
+ " FUNCTION_TARGET=scopeDemo php -S localhost:${PORT:-8080} vendor/bin/router.php"
9
+ ]
4
10
}
5
11
}
You can’t perform that action at this time.
0 commit comments