-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
15 lines (15 loc) · 868 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"name": "mautic-trello",
"version": "1.0.0",
"author": "Mautic",
"devDependencies": {
"@openapitools/openapi-generator-cli": "0.0.19-4.1.2"
},
"scripts": {
"start-mock-server": "prism mock -d Docs/api/i2-trello.oas3.yml",
"test": "../../bin/phpunit --bootstrap ../../vendor/autoload.php --configuration ../../app/phpunit.xml.dist --filter MauticTrelloBundle",
"generate-api-trello": "openapi-generator-cli generate -i Docs/api/i2-trello.oas3.yml -g php -o Openapi --additional-properties='invokerPackage=MauticPlugin\\\\MauticTrelloBundle\\\\Openapi\\\\lib,bundleName=MauticTrello,phpLegacySupport=false,variableNamingConvention=camelCase' && npm run remove-not-needed-code && npm run format-all-code",
"remove-not-needed-code": "rm -r Openapi/test rm Openapi/git_push.sh",
"format-all-code": "../../bin/php-cs-fixer fix ."
}
}