Skip to content

Commit

Permalink
Merge branch 'main' into mollie-components
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Nov 30, 2023
2 parents c7131ad + 2a1aca6 commit a4e499d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
},
"config": {
"PRONAMIC_PAY_DEBUG": true
},
"lifecycleScripts": {
"afterStart": "npm run wp-env-after-start"
}
}
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@
"npm-run-all": "^4.1.5"
},
"scripts": {
"start": "wp-env start --xdebug && npm run setup && npm run login",
"setup": "npm-run-all setup-*",
"setup-mollie-api-key": "wp-env run cli wp config set MOLLIE_API_KEY $MOLLIE_API_KEY",
"login": "wp-env run cli wp user one-time-login admin"
"wp-env-setup": "npm-run-all wp-env-setup-*",
"wp-env-setup-mollie": "wp-env run cli wp config set MOLLIE_API_KEY $MOLLIE_API_KEY",
"wp-env-setup-buckaroo-website-key": "wp-env run cli wp config set BUCKAROO_WEBSITE_KEY $BUCKAROO_WEBSITE_KEY",
"wp-env-setup-buckaroo-secret-key": "wp-env run cli wp config set BUCKAROO_SECRET_KEY $BUCKAROO_SECRET_KEY",
"wp-env-setup-plugins": "wp-env run cli wp plugin activate pronamic-ideal pronamic-pay-mollie",
"wp-env-after-start": "npm-run-all wp-env-setup"
}
}

0 comments on commit a4e499d

Please sign in to comment.