-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json.react
39 lines (39 loc) · 1.43 KB
/
package.json.react
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
{
"name": "{{the-plugin-name}}",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "ISC",
"scripts": {
"env:start": "wp-env start",
"env:clean": "wp-env clean",
"env:destroy": "wp-env destroy",
"env:start:coverage": "wp-env start -- --xdebug=profile,trace,debug",
"env:stop": "wp-env stop",
"build": "wp-scripts build",
"start": "wp-scripts start",
"build:plugin-zip": "bash ./bin/build-plugin-zip.sh",
"test:php": "wp-env run phpunit 'phpunit -c /var/www/html/wp-content/plugins/{{the-plugin-name}}/phpunit.xml.dist --verbose'",
"test:watch": "npm run composer test:watch",
"composer": "wp-env run cli --env-cwd=wp-content/plugins/{{the-plugin-name}} composer",
"test:e2e": "wp-scripts test-playwright --config tests/e2e/playwright.config.ts",
"test:e2e:playwright": "npm run test:e2e",
"test:e2e:playwright:ui": "wp-scripts test-playwright --ui --config tests/e2e/playwright.config.ts",
"test:e2e:watch": "npm run test:e2e -- --watch"
},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@wordpress/api-fetch": "^6.44.0",
"@wordpress/e2e-test-utils": "^11.0.0",
"@wordpress/e2e-test-utils-playwright": "^1.0.0",
"@wordpress/env": "^10.0.0",
"@wordpress/i18n": "^4.47.0",
"@wordpress/scripts": "^26.18.0",
"autoprefixer": "^10.4.16",
"lodash": "^4.17.21",
"react-router-dom": "^6.20.1",
"tailwind-merge": "^2.1.0",
"tailwindcss": "^3.3.6"
}
}