-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 2.71 KB
/
package.json
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
54
55
56
57
58
59
60
61
62
{
"name": "tangible-blocks-editor",
"title": "Tangible Blocks - Editor",
"productId": 22590,
"private": true,
"type": "module",
"homepage": "https://github.com/tangibleinc/blocks-editor",
"repository": {
"url": "git+ssh://git@github.com/tangibleinc/blocks-editor.git"
},
"scripts": {
"start": "wp-now start --blueprint=blueprint.dev.json",
"dev": "concurrently --raw 'roll dev' 'npm run start'",
"build": "roll build",
"format": "roll format",
"postinstall": "roll install",
"update": "roll update",
"install:dev": "roll install --dev",
"update:dev": "roll update --dev",
"archive": "roll archive && rm -rf publish/tangible-blocks-editor && unzip publish/tangible-blocks-editor.zip -d publish/ && npm run test:archive",
"// Test": "",
"test": "roll run tests/index.ts",
"test:all": "npm run test && npm run test:8.4 && npm run e2e",
"test:8.4": "roll run tests/index.ts PHP_VERSION=8.4",
"test:archive": "roll run tests/index.ts TEST_ARCHIVE=1",
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
"env": "wp-env",
"env:start": "wp-env start",
"env:update": "wp-env start --update",
"env:stop": "wp-env stop",
"env:composer": "FOLDER=`basename $(realpath $PWD)`; wp-env run cli --env-cwd=wp-content/plugins/$FOLDER composer",
"env:composer:install": "wp-env run cli sudo apk add git && npm run env:composer install",
"env:composer:update": "npm run env:composer update",
"env:test": "FOLDER=`basename $(realpath $PWD)`; wp-env run tests-wordpress /var/www/html/wp-content/plugins/$FOLDER/vendor/bin/phpunit --testdox -c /var/www/html/wp-content/plugins/$FOLDER/phpunit.xml --verbose",
"env:test:7.4": "WP_ENV_PHP_VERSION=7.4 wp-env start && npm run env:test",
"env:test:8.2": "WP_ENV_PHP_VERSION=8.2 wp-env start && npm run env:test",
"env:destroy": "wp-env destroy",
"env:clean": "wp-env clean all",
"-- End-to-end testing --": "https://playwright.dev/",
"e2e": "playwright test --config tests/playwright.config.js",
"e2e:install": "playwright install chromium",
"e2e:debug": "npm run e2e -- --debug",
"e2e:ui": "npm run e2e -- --ui",
"e2e:watch": "chokidar 'tests/e2e/**/*.js' --initial -c 'npm run e2e -- --retries=0'"
},
"dependencies": {
},
"devDependencies": {
"@playwright/test": "^1.50.1",
"@tangible/env": "^2025.1.31",
"@tangible/now": "^2.0.4",
"@tangible/roller": "^2.1.4",
"@wordpress/e2e-test-utils-playwright": "^1.18.0",
"@wordpress/env": "^10.18.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^9.1.2",
"testra": "^2.1.4"
},
"author": "Team Tangible",
"license": "MIT",
"keywords": []
}