-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.63 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.63 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
54
55
56
57
58
59
60
61
62
{
"name": "tangible-blocks",
"private": true,
"type": "module",
"homepage": "https://github.com/tangibleinc/blocks",
"repository": {
"url": "git+ssh://git@github.com/tangibleinc/blocks.git"
},
"scripts": {
"start": "wp-env start",
"start:update": "wp-env start --update",
"stop": "wp-env stop",
"dev": "roll dev",
"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 -y && rm -rf publish/tangible-blocks && unzip -q publish/tangible-blocks.zip -d publish/ && npm run now:test:archive",
"now": "wp-now start --blueprint=blueprint.dev.json",
"now:dev": "concurrently --raw 'roll dev' 'npm run now'",
"now:test": "roll run tests/now/index.ts",
"now:test:archive": "roll run tests/now/index.ts TEST_ARCHIVE=1",
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
"env": "wp-env",
"composer": "FOLDER=`basename $(realpath $PWD)`; wp-env run cli --env-cwd=wp-content/plugins/$FOLDER composer",
"composer:install": "wp-env run cli sudo apk add git && npm run composer install",
"composer:update": "npm run composer update",
"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",
"test:7.4": "WP_ENV_PHP_VERSION=7.4 wp-env start && npm run test",
"test:8.2": "WP_ENV_PHP_VERSION=8.2 wp-env start && npm run test",
"test:all": "npm run test:7.4 && npm run test:8.2 && npm run e2e",
"env:destroy": "wp-env destroy",
"env:clean": "wp-env clean all",
"-- End-to-end testing --": "https://playwright.dev/",
"e2e": "playwright test --config 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": {
"@codemirror/view": "^6.36.5",
"@react-aria/color": "^3.0.6",
"react-aria": "^3.39.0",
"react-stately": "^3.37.0"
},
"devDependencies": {
"@playwright/test": "^1.52.0",
"@tangible/now": "3.0.2",
"@tangible/roller": "^2.1.4",
"@wordpress/e2e-test-utils-playwright": "^1.22.0",
"@wordpress/env": "^10.22.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^9.1.2",
"testra": "^2.1.5"
},
"author": "Team Tangible",
"license": "MIT",
"keywords": []
}