-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.82 KB
/
package.json
File metadata and controls
32 lines (32 loc) · 1.82 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
{
"name": "rsscloud",
"version": "0.5.0",
"private": true,
"description": "Adds RSSCloud capabilities to your RSS feed.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"main": "index.js",
"directories": {
"test": "tests"
},
"devDependencies": {
"npm-run-all": "^4.1.5"
},
"scripts": {
"lint:php:setup": "wp-env start",
"preformat:php": "npm-run-all lint:php:setup other:update-packages:php",
"format:php": "wp-env run --env-cwd='wp-content/plugins/rsscloud-dev' cli composer run-script format",
"prelint:php": "npm-run-all lint:php:setup other:update-packages:php",
"lint:php": "wp-env run --env-cwd='wp-content/plugins/rsscloud-dev' cli composer run-script lint",
"other:update-packages:php": "wp-env run --env-cwd='wp-content/plugins/rsscloud-dev' cli composer update --no-interaction",
"test:php": "npm-run-all lint:php test:unit:php",
"test:unit:php:setup": "wp-env --config .wp-env.test.json start",
"test:unit:php:setup:debug": "wp-env --config .wp-env.test.json start --xdebug",
"test:unit:php:base": "wp-env --config .wp-env.test.json run --env-cwd='wp-content/plugins/rsscloud-dev' wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose --testdox",
"test:unit:php": "npm-run-all test:unit:php:setup test:unit:php:base",
"test:unit:php:debug": "npm-run-all test:unit:php:setup:debug test:unit:php:base",
"test:unit:php:setup:coverage": "wp-env --config .wp-env.test.json start --xdebug=coverage",
"test:unit:php:coverage:base": "wp-env --config .wp-env.test.json run --env-cwd='wp-content/plugins/rsscloud-dev' wordpress vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-html coverage --coverage-clover coverage/clover.xml",
"test:unit:php:coverage": "npm-run-all test:unit:php:setup:coverage test:unit:php:coverage:base"
}
}