|
13 | 13 | "clean:build": "rm -rf assets && rm -rf $npm_package_name", |
14 | 14 | "build:dir": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name", |
15 | 15 | "package": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name", |
16 | | - "package:zip": "npm run package && zip -r $npm_package_name.$npm_package_version.zip ./$npm_package_name/*", |
| 16 | + "package:zip": "npm run package && zip -r $npm_package_name.$npm_package_version.zip $npm_package_name", |
17 | 17 | "test:php": "docker-compose -f bin/docker-compose.yml run --rm wordpress_phpunit phpunit", |
18 | 18 | "test:playwright": "playwright test -c tests/playwright/playwright.config.ts", |
19 | 19 | "test:playwright:headless": "CI=1 playwright test -c tests/playwright/playwright.config.ts", |
20 | 20 | "test:playwright:debug": "npm run test:playwright -- --debug", |
21 | 21 | "test:setup:playwright": "wp-env run cli bash hello-elementor-config/setup.sh && wp-env run tests-cli bash hello-elementor-config/setup.sh", |
22 | 22 | "test:setup:chromium": "npx playwright install chromium", |
23 | | - "zip": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name && zip -r $npm_package_name.$npm_package_version.zip $npm_package_name/*", |
| 23 | + "zip": "npm run clean:build && npm run build:prod && rsync -av --exclude-from=.buildignore . $npm_package_name && zip -r $npm_package_name.$npm_package_version.zip $npm_package_name", |
24 | 24 | "update-version": "node .github/scripts/update-version-in-files.js", |
25 | 25 | "wp-env:start": "wp-env start", |
26 | 26 | "wp-env:stop": "wp-env stop" |
|
0 commit comments