-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.68 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.68 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
{
"name": "tangible-updater",
"version": "2025.9.15",
"type": "module",
"description": "Updater module for plugins and themes",
"homepage": "https://github.com/tangibleinc/updater",
"repository": "git@github.com:tangibleinc/updater.git",
"tangible": {
"deployType": "module"
},
"scripts": {
"start": "wp-env start",
"stop": "wp-env stop",
"postinstall": "roll install",
"update": "roll update",
"install:dev": "roll install --dev",
"update:dev": "roll update --dev",
"format": "roll format",
"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",
"test:node": "node tests/index.js",
"version": "node version.js",
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
"env": "wp-env",
"env:update": "wp-env start --update",
"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",
"env:destroy": "wp-env destroy",
"env:clean": "wp-env clean all"
},
"dependencies": {},
"devDependencies": {
"@tangible/php-beautify": "^1.2.0",
"@tangible/roller": "^2.1.5",
"@wordpress/env": "^10.28.0",
"testra": "^2.1.5"
}
}