-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.35 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.35 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
{
"name": "@webberzone/webberzone-code-block-highlighting",
"version": "1.0.0",
"description": "Extends the Gutenberg Code block with syntax highlighting powered by Prism.js.",
"author": "WebberZone",
"license": "GPL-2.0-or-later",
"main": "includes/blocks/src/js/index.js",
"scripts": {
"build": "wp-scripts build includes/blocks/src/js/index.js includes/blocks/src/js/frontend.js --output-path ./includes/blocks/build",
"build:assets": "node build-assets.js",
"build:prism": "node build-prism.js && node build-assets.js includes/assets",
"start": "wp-scripts start includes/blocks/src/js/index.js includes/blocks/src/js/frontend.js --output-path ./includes/blocks/build",
"format": "wp-scripts format ./includes/",
"lint:js": "wp-scripts lint-js ./includes/",
"lint:css": "wp-scripts lint-style ./includes/",
"packages-update": "wp-scripts packages-update",
"zip": "wp-scripts plugin-zip"
},
"files": [
"includes",
"languages",
"webberzone-code-block-highlighting.php",
"index.php",
"uninstall.php",
"readme.txt"
],
"dependencies": {
"prism-themes": "^1.9.0",
"prismjs": "^1.30.0"
},
"devDependencies": {
"@wordpress/prettier-config": "^4.43.0",
"@wordpress/scripts": "^31",
"babel-plugin-prismjs": "^2.1.0",
"clean-css-cli": "^5.6.3",
"rtlcss": "^4.3.0",
"terser": "^5.46.1"
},
"prettier": "@wordpress/prettier-config"
}