-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 2.43 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
{
"name": "@tangible/framework",
"type": "module",
"version": "2025.2.26",
"description": "Framework module",
"homepage": "https://github.com/tangibleinc/framework",
"repository": {
"url": "git+ssh://[email protected]/tangibleinc/framework.git"
},
"scripts": {
"start": "wp-now start --blueprint=blueprint.dev.json",
"build": "npm run clean && node build.js && npm run build:types",
"build:types": "tsc --project env/tsconfig.types.json",
"clean": "rm -rf build",
"dev:libs": "roll dev",
"build:libs": "roll build",
"format": "roll format",
"test": "roll run tests/index.ts",
"test:7.4": "roll run tests/index.ts PHP_VERSION=7.4",
"test:8.4": "roll run tests/index.ts PHP_VERSION=8.4",
"test:all": "npm run test:7.4 && npm run test:8.4 && npm run e2e",
"version": "node version.js",
"subrepo": "git-subrepo",
"-- 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"
},
"devDependencies": {
"@gjsify/esbuild-plugin-transform-ext": "^0.0.4",
"@playwright/test": "^1.50.0",
"@tangible/git-subrepo": "^1.0.1",
"@tangible/now": "^2.0.3",
"@tangible/roller": "^2.1.4",
"@wordpress/e2e-test-utils-playwright": "^1.16.0",
"esbuild": "^0.24.2",
"globby": "^14.0.2",
"testra": "^2.1.4",
"typescript": "^5.7.3"
}
}