-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
18 lines (18 loc) · 889 Bytes
/
package.json
File metadata and controls
18 lines (18 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"devDependencies": {
"@wordpress/e2e-test-utils-playwright": "^1.44.0",
"@wordpress/env": "^11.4.0",
"@wordpress/scripts": "^32.0.0",
"zetajs": "^1.0.0"
},
"scripts": {
"wp-env": "wp-env",
"composer": "wp-env run cli --env-cwd=wp-content/plugins/documentate composer",
"composer:tests-cli": "wp-env run tests-cli --env-cwd=wp-content/plugins/documentate composer",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.js",
"test:unit": "wp-env run tests-cli --env-cwd=wp-content/plugins/documentate ./vendor/bin/phpunit",
"copy:zetajs": "rm -rf admin/vendor/zetajs && mkdir -p admin/vendor/zetajs && cp node_modules/zetajs/source/zetaHelper.js admin/vendor/zetajs/ && cp node_modules/zetajs/source/zeta.js admin/vendor/zetajs/",
"postinstall": "npm run copy:zetajs",
"postupdate": "npm run copy:zetajs"
}
}