|
| 1 | +{ |
| 2 | + "private": true, |
| 3 | + "type": "module", |
| 4 | + "description": "Security tools that keep your site safe and sound, from posts to plugins.", |
| 5 | + "homepage": "https://jetpack.com", |
| 6 | + "bugs": { |
| 7 | + "url": "https://github.com/Automattic/jetpack/labels/[Plugin] Protect" |
| 8 | + }, |
| 9 | + "repository": { |
| 10 | + "type": "git", |
| 11 | + "url": "https://github.com/Automattic/jetpack.git", |
| 12 | + "directory": "projects/plugins/protect" |
| 13 | + }, |
| 14 | + "license": "GPL-2.0-or-later", |
| 15 | + "author": "Automattic", |
| 16 | + "scripts": { |
| 17 | + "build": "pnpm jetpack build packages/assets packages/connection plugins/protect plugins/jetpack -v --no-pnpm-install --production", |
| 18 | + "clean": "rm -rf output", |
| 19 | + "config:decrypt": "openssl enc -md sha1 -aes-256-cbc -d -pass env:CONFIG_KEY -in ./node_modules/_jetpack-e2e-commons/config/encrypted.enc -out ./config/local.cjs", |
| 20 | + "distclean": "rm -rf node_modules", |
| 21 | + "env:up": "e2e-env start --activate-plugins protect", |
| 22 | + "env:down": "e2e-env stop", |
| 23 | + "env:reset": "e2e-env reset --activate-plugins protect", |
| 24 | + "tunnel:up": "tunnel up", |
| 25 | + "tunnel:reset": "tunnel reset", |
| 26 | + "tunnel:down": "tunnel down", |
| 27 | + "pretest:run": "pnpm run clean", |
| 28 | + "test:run": ". ./node_modules/_jetpack-e2e-commons/bin/app-password.sh && playwright install --with-deps chromium && NODE_CONFIG_DIR='./config' ALLURE_RESULTS_DIR=./output/allure-results NODE_PATH=\"$PWD/node_modules\" playwright test --config=./playwright.config.mjs" |
| 29 | + }, |
| 30 | + "devDependencies": { |
| 31 | + "@playwright/test": "1.48.2", |
| 32 | + "allure-playwright": "2.9.2", |
| 33 | + "config": "3.3.12", |
| 34 | + "_jetpack-e2e-commons": "workspace:*" |
| 35 | + }, |
| 36 | + "browserslist": [], |
| 37 | + "ci": { |
| 38 | + "targets": [ |
| 39 | + "plugins/protect", |
| 40 | + "tools/e2e-commons" |
| 41 | + ], |
| 42 | + "pluginSlug": "protect", |
| 43 | + "mirrorName": "jetpack-protect-plugin" |
| 44 | + } |
| 45 | +} |
0 commit comments