-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 2.3 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 2.3 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
{
"name": "@tangible/framework",
"type": "module",
"version": "2025.11.7",
"description": "Framework module",
"homepage": "https://github.com/tangibleinc/framework",
"repository": {
"url": "git+ssh://git@github.com/tangibleinc/framework.git"
},
"scripts": {
"start": "wp-env start",
"start:update": "wp-env start --update",
"stop": "wp-env stop",
"build": "npm run clean && node build.js",
"build:types": "tsc --project env/legacy/tsconfig.types.json",
"clean": "rm -rf build",
"dev:libs": "roll dev",
"build:libs": "roll build",
"archive": "roll archive",
"format": "roll format",
"version": "node version.js",
"subrepo": "git-subrepo",
"now": "wp-now start --blueprint=blueprint.dev.json",
"now:test": "roll run tests/now/index.ts",
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
"env": "wp-env",
"composer": "FOLDER=tangible-framework; 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=tangible-framework; 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"
},
"devDependencies": {
"@gjsify/esbuild-plugin-transform-ext": "^0.0.4",
"@playwright/test": "^1.57.0",
"@tangible/git-subrepo": "^1.0.1",
"@tangible/now": "^3.0.2",
"@tangible/roller": "^2.1.9",
"@wordpress/e2e-test-utils-playwright": "^1.36.0",
"@wordpress/env": "^10.36.0",
"esbuild": "^0.27.1",
"globby": "^16.0.0",
"testra": "^2.1.5",
"typescript": "^5.9.3"
}
}