-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 1.05 KB
/
package.json
File metadata and controls
27 lines (27 loc) · 1.05 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
{
"name": "tangible-database-module",
"description": "database module",
"homepage": "https://github.com/tangibleinc/database-module",
"repository": "git@github.com:tangibleinc/database-module.git",
"tangible": {
"deployType": "module"
},
"scripts": {
"dev": "roll dev",
"build": "roll build",
"format": "roll format",
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
"test": "npm run env:test",
"env": "wp-env",
"env:start": "wp-env start",
"env:test": "FOLDER=`basename $PWD`; wp-env run tests-wordpress /var/www/html/wp-content/plugins/$FOLDER/vendor/bin/phpunit -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:stop": "wp-env stop",
"env:destroy": "wp-env destroy"
},
"devDependencies": {
"@tangible/roller": "2.x",
"@wordpress/env": "^10.19.0"
}
}