forked from ryelle/theme-directory-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
34 lines (34 loc) · 1.16 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
{
"name": "Theme-Directory-Tests",
"version": "1.0.0",
"description": "Run tests for themes in WP.org directory",
"main": "index.js",
"scripts": {
"test:e2e:interactive": "PUPPETEER_HEADLESS=false wp-scripts test-e2e --config tests/e2e/jest.config.js",
"test:e2e": "wp-scripts test-e2e --config tests/e2e/jest.config.js",
"pretest:lint": "wp-env run composer 'install --no-interaction'",
"test:lint": "wp-env run composer 'run-script lint theme'",
"test:unit": "wp-env run phpunit 'phpunit -c ./html/config/phpunit.xml.dist --verbose'",
"dev:lint": "wp-scripts lint-js specs/*",
"dev:format": "wp-scripts format-js specs/*",
"wp-env": "wp-env"
},
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"dependencies": {
"@wordpress/e2e-test-utils": "^4.11.2",
"@wordpress/env": "1.6.0",
"@wordpress/jest-console": "^3.7.0",
"@wordpress/jest-puppeteer-axe": "^1.9.0",
"@wordpress/scripts": "12.1.1",
"jest": "^26.4.0",
"puppeteer": "^5.2.1"
},
"eslintConfig": {
"extends": "plugin:@wordpress/eslint-plugin/recommended",
"root": true,
"rules": {
"no-console": "off"
}
}
}