Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.04 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 2.04 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "convert-to-blocks",
"version": "1.3.4",
"description": "Convert to Blocks is a WordPress plugin that transforms classic editor content to blocks on the fly.",
"author": {
"name": "10up",
"email": "opensource@10up.com",
"url": "https://10up.com",
"role": "developer"
},
"license": "GPL-2.0-or-later",
"scripts": {
"start": "composer install && npm install && npm run build",
"build": "NODE_ENV=production wp-scripts build",
"watch": "NODE_ENV=development wp-scripts start",
"build-release": "npm install && composer install --no-dev -o && npm run build",
"lint-release": "npm install && composer install && npm run lint",
"lint-js": "wp-scripts lint-js ./assets/js",
"lint-php": "composer run lint",
"format-js": "wp-scripts format ./assets/js",
"lint": "npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"wp-env": "wp-env",
"wp-env:test": "wp-env --config=.wp-env.test.json",
"test:php": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/convert-to-blocks vendor/bin/phpunit -c phpunit.xml.dist",
"test:php:multisite": "wp-env --config=.wp-env.test.json run cli --env-cwd=wp-content/plugins/convert-to-blocks env WP_MULTISITE=1 vendor/bin/phpunit -c phpunit.xml.dist",
"test:e2e": "wp-scripts test-playwright --wp-env-config=.wp-env.test.json --config tests/e2e/playwright.config.ts",
"test:e2e:debug": "wp-scripts test-playwright --wp-env-config=.wp-env.test.json --config tests/e2e/playwright.config.ts --ui"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint"
]
},
"repository": {
"type": "git",
"url": "https://github.com/10up/convert-to-blocks"
},
"devDependencies": {
"@playwright/test": "1.65.1",
"@wordpress/e2e-test-utils-playwright": "3.3.0",
"@wordpress/env": "12.2.0",
"@wordpress/scripts": "37.2.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^3.2.5"
},
"engines": {
"node": ">=26"
}
}