-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.79 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.79 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "@ediamin/css-class-manager",
"version": "1.6.1",
"description": "An advanced autocomplete additional css class control for your blocks.",
"author": "Edi Amin <to.ediamin@gmail.com>",
"license": "GPL-3.0",
"keywords": [],
"homepage": "https://github.com/ediamin/css-class-manager#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ediamin/css-class-manager.git"
},
"bugs": {
"url": "https://github.com/ediamin/css-class-manager/issues"
},
"engines": {
"node": ">=22.14.0",
"npm": ">=10.9.2"
},
"devDependencies": {
"@playwright/test": "1.57.0",
"@types/node": "25.6.0",
"@types/wordpress__block-editor": "14.21.8",
"@types/wordpress__blocks": "12.5.18",
"@wordpress/api-fetch": "7.37.0",
"@wordpress/components": "31.0.0",
"@wordpress/compose": "7.37.0",
"@wordpress/core-data": "7.37.0",
"@wordpress/data": "10.37.0",
"@wordpress/e2e-test-utils-playwright": "1.42.0",
"@wordpress/editor": "14.37.0",
"@wordpress/element": "6.37.0",
"@wordpress/env": "10.37.0",
"@wordpress/hooks": "4.37.0",
"@wordpress/i18n": "6.10.0",
"@wordpress/icons": "11.4.0",
"@wordpress/plugins": "7.37.0",
"@wordpress/primitives": "4.37.0",
"@wordpress/rich-text": "7.37.0",
"@wordpress/scripts": "31.2.0",
"@wordpress/url": "4.37.0",
"ajv": "8.18.0",
"fuse.js": "7.1.0",
"nanoid": "3.3.11",
"react-select": "5.10.2",
"typescript": "5.9.3"
},
"overrides": {
"@babel/runtime": ">=7.26.10",
"basic-ftp": ">=5.3.0",
"follow-redirects": ">=1.16.0",
"serialize-javascript": ">=7.0.4",
"webpack-dev-server": ">=5.2.1",
"markdownlint-cli": {
"minimatch": "3.1.5"
},
"eslint-plugin-import": {
"minimatch": "3.1.5"
},
"test-exclude": {
"minimatch": "3.1.5"
},
"@typescript-eslint/typescript-estree": {
"minimatch": ">=9.0.7"
},
"express": {
"path-to-regexp": ">=0.1.13"
}
},
"scripts": {
"env:start": "wp-env start --xdebug=debug,coverage",
"env:start:e2e": "wp-env start",
"env:stop": "wp-env stop",
"format": "wp-scripts format",
"lint": "npm run composer -- run phpcs . && npm run lint:js && npm run lint:css && npm run lint:types && npm run lint:pkg-json",
"lint:js": "wp-scripts lint-js assets/src tests playwright.config.ts jest.config.js webpack.config.js version-update.js .eslintrc.js",
"lint:types": "tsc --noEmit",
"lint:css": "wp-scripts lint-style assets/src",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"composer": "wp-env run --env-cwd='wp-content/plugins/css-class-manager' cli composer",
"dev": "wp-scripts start",
"build": "wp-scripts build",
"clean": "rimraf assets/dist",
"php:analyze": "wp-env run --env-cwd='wp-content/plugins/css-class-manager' cli composer analyze",
"test": "npm run test:php && npm run test:js && npm run test:e2e",
"test:php": "wp-env run --env-cwd='wp-content/plugins/css-class-manager' tests-wordpress vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover coverage.xml --coverage-html coverage/php --verbose && npm run php:coverage:fix-path",
"php:coverage:fix-path": "wp-env run --env-cwd='wp-content/plugins/css-class-manager' tests-wordpress sed -i 's|/var/www/html/wp-content/plugins/css-class-manager/||g' coverage.xml",
"test:js": "wp-scripts test-unit-js",
"test:js:watch": "wp-scripts test-unit-js --watch",
"test:js:coverage": "wp-scripts test-unit-js --coverage",
"test:e2e": "wp-scripts test-playwright",
"test:e2e:debug": "wp-scripts test-playwright --debug",
"test:e2e:ui": "wp-scripts test-playwright --ui",
"make-pot": "wp-env run --env-cwd='wp-content/plugins/css-class-manager' cli wp i18n make-pot . languages/css-class-manager.pot --include=includes,assets/dist",
"zip": "wp-env run --env-cwd='wp-content/plugins/css-class-manager' cli php zip.php",
"make-dist-zip": "npm run clean && npm run make-pot && npm run build && npm run zip"
}
}