Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (46 loc) · 3.3 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (46 loc) · 3.3 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
{
"name": "@ahegyes/wordpress-plugins",
"private": true,
"description": "DWS WordPress plugins monorepo — the shared test environment and the plugins' fan-outs.",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/ahegyes/wordpress-plugins.git"
},
"bugs": "https://github.com/ahegyes/wordpress-plugins/issues",
"engines": {
"node": ">=26",
"npm": ">=11"
},
"devDependencies": {
"@ahegyes/wordpress-configs": "git+https://github.com/ahegyes/wordpress-configs.git#8d53efd292e4abee4a9c57b0e379434f54bedbe9",
"@playwright/test": "^1.64.1",
"@wordpress/e2e-test-utils-playwright": "^3.1.0",
"@wordpress/env": "^12.0.0",
"@wordpress/scripts": "^37.0.0"
},
"scripts": {
"setup": "npm run packages-install:all && npm run plugins:build",
"packages-install:all": "composer packages-install && composer plugins:packages-install && npm run packages-install && npm run plugins:packages-install",
"packages-update:all": "composer packages-update && composer plugins:packages-update && npm run packages-update && npm run plugins:packages-update && npm run packages-update:wp && npm run plugins:packages-update:wp",
"packages-install": "npm install",
"packages-update": "npm update",
"packages-update:wp": "wp-scripts packages-update",
"plugins:packages-install": "npm --prefix=plugins/linked-orders-for-woocommerce run packages-install && npm --prefix=plugins/internal-comments run packages-install && npm --prefix=plugins/locked-payment-methods-for-woocommerce run packages-install",
"plugins:packages-update": "npm --prefix=plugins/linked-orders-for-woocommerce run packages-update && npm --prefix=plugins/internal-comments run packages-update && npm --prefix=plugins/locked-payment-methods-for-woocommerce run packages-update",
"plugins:packages-update:wp": "npm --prefix=plugins/linked-orders-for-woocommerce run packages-update:wp && npm --prefix=plugins/internal-comments run packages-update:wp && npm --prefix=plugins/locked-payment-methods-for-woocommerce run packages-update:wp",
"plugins:build": "npm --prefix=plugins/linked-orders-for-woocommerce run build && npm --prefix=plugins/internal-comments run build && npm --prefix=plugins/locked-payment-methods-for-woocommerce run build",
"wp-env:tests:start": "wp-env --config .wp-env.tests.json start",
"wp-env:tests:stop": "wp-env --config .wp-env.tests.json stop",
"wp-env:tests:update": "wp-env --config .wp-env.tests.json start --update",
"wp-env:tests:destroy": "wp-env --config .wp-env.tests.json destroy",
"audit": "composer audit && npm audit",
"audit:fix": "npm audit fix",
"check:engines": "wp-scripts check-engines",
"check:licenses": "wp-scripts check-licenses",
"test:e2e": "playwright test --config=playwright.config.js",
"plugins:test:e2e": "npm --prefix=plugins/linked-orders-for-woocommerce run test:e2e && npm --prefix=plugins/internal-comments run test:e2e && npm --prefix=plugins/locked-payment-methods-for-woocommerce run test:e2e",
"test:all": "composer test:integration && npm run test:e2e",
"quality-check:all": "composer quality-check && npm run test:e2e"
}
}