-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.47 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
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
{
"name": "custom-html-block-extension",
"version": "3.7.0",
"description": "WordPress plugin to extends \"Custom HTML block\" to evolve into an advanced code editor",
"author": "Aki Hamano",
"license": "GPL-2.0-or-later",
"keywords": [
"gutenberg",
"block",
"html",
"highlighting",
"emmet"
],
"homepage": "https://github.com/t-hamano/custom-html-block-extension",
"repository": "git+https://github.com/t-hamano/custom-html-block-extension.git",
"bugs": {
"url": "https://github.com/t-hamano/custom-html-block-extension/issues"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"volta": {
"node": "20.11.1",
"npm": "10.5.0"
},
"dependencies": {
"@wordpress/icons": "^10.9.0",
"emmet-monaco-es": "^5.4.0",
"monaco-editor": "^0.51.0",
"react-notifications-component": "^4.0.1",
"webfontloader": "^1.6.28"
},
"devDependencies": {
"@deboxsoft/cpx": "^1.5.0",
"@wordpress/base-styles": "^5.9.0",
"@wordpress/e2e-test-utils": "^11.9.0",
"@wordpress/env": "^10.9.0",
"@wordpress/scripts": "^27.9.0",
"clsx": "2.1.1",
"husky": "^9.1.6",
"lint-staged": "15.2.10",
"prettier": "npm:[email protected]",
"rimraf": "^6.0.1"
},
"scripts": {
"wp-env": "wp-env",
"stop": "wp-env stop",
"start": "wp-scripts start src/admin src/block-editor src/classic-editor src/theme-plugin-editor --output-path build",
"build": "npm run clean && wp-scripts build src/admin src/block-editor src/classic-editor src/theme-plugin-editor --output-path build && npm run copy-lib",
"copy-lib": "cpx -C \"node_modules/monaco-editor/min/**\" \"build/vendor/monaco-editor/min\" && node bin/delete-sourcemaps.js",
"clean": "rimraf build",
"check-licenses": "wp-scripts check-licenses",
"lint": "npm run lint:css && npm run lint:js && npm run lint:php && npm run lint:md-docs && npm run lint:pkg-json",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:php": "composer lint",
"lint:md-docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"format": "wp-scripts format",
"test": "npm run lint:js && npm run test:e2e",
"test:e2e": "wp-scripts test-playwright",
"test:e2e:debug": "wp-scripts test-playwright --debug",
"prepare": "husky"
},
"lint-staged": {
"*.{js,json,yml,yaml}": [
"wp-scripts format"
],
"*.js": [
"wp-scripts lint-js"
],
"*.scss": [
"wp-scripts lint-style"
],
"*.md": [
"wp-scripts lint-md-docs"
],
"package.json": [
"wp-scripts lint-pkg-json"
]
}
}