forked from westonruter/syntax-highlighting-code-block
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 3.29 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
{
"name": "syntax-highlighting-code-block",
"private": true,
"description": "Extending the Code block with syntax highlighting rendered on the server, thus being AMP-compatible and having faster frontend performance.",
"author": "Weston Ruter",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"wordpress-plugin"
],
"homepage": "https://github.com/westonruter/syntax-highlighting-code-block",
"repository": {
"type": "git",
"url": "https://github.com/westonruter/syntax-highlighting-code-block.git"
},
"bugs": {
"url": "https://github.com/westonruter/syntax-highlighting-code-block/issues"
},
"devDependencies": {
"@wordpress/api-fetch": "6.36.0",
"@wordpress/block-editor": "12.7.0",
"@wordpress/components": "25.5.0",
"@wordpress/editor": "13.16.0",
"@wordpress/element": "5.16.0",
"@wordpress/env": "8.5.0",
"@wordpress/eslint-plugin": "14.12.0",
"@wordpress/hooks": "3.39.0",
"@wordpress/i18n": "4.39.0",
"@wordpress/scripts": "26.10.0",
"eslint": "8.49.0",
"grunt": "1.6.1",
"grunt-contrib-copy": "1.0.0",
"grunt-wp-deploy": "2.1.2",
"highlight.js": "git+https://github.com/highlightjs/highlight.js.git#9.18.1",
"husky": "8.0.3",
"lint-staged": "14.0.1",
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"prettier": "2.8.8"
},
"scripts": {
"update": "bin/update-highlight-libs.sh",
"build": "npm-run-all build:*",
"build:transform-readme": "php ./bin/transform-readme.php",
"build:clean": "if [ -e dist ]; then rm -r dist; fi; if [ -e build ]; then rm -r build; fi",
"build:js": "wp-scripts build src/index.js src/customize-controls.js --output-path=build",
"build:dist": "grunt dist",
"build:zip": "if [ -e syntax-highlighting-code-block.zip ]; then rm syntax-highlighting-code-block.zip; fi; cd dist; zip -r ../syntax-highlighting-code-block.zip .; cd ..; echo; echo \"ZIP of build: $(pwd)/syntax-highlighting-code-block.zip\"",
"verify-matching-versions": "php ./bin/verify-version-consistency.php",
"deploy": "npm-run-all verify-matching-versions build && grunt wp_deploy",
"generate-language-names": "php ./bin/generate-language-names.php",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"lint": "npm-run-all --parallel lint:*",
"lint:composer": "composer normalize -- --dry-run",
"lint:composer:fix": "composer normalize",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "wp-scripts lint-js --fix",
"lint:js:report": "npm run lint:js -- --output-file lint-js-report.json --format json .",
"lint:php": "composer phpcs",
"lint:php:fix": "composer phpcbf",
"lint:phpstan": "composer analyze",
"lint:pkg-json": "wp-scripts lint-pkg-json . --ignorePath .gitignore",
"prepare": "husky install",
"start": "wp-scripts start src/index.js src/customize-controls.js --output-path=build",
"symlink-wp-env-install-paths": "bin/symlink-wp-env-install-paths.sh",
"wp-env": "wp-env"
},
"npmpackagejsonlint": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"require-version": "off"
}
},
"title": "Syntax-highlighting Code Block (with Server-side Rendering)"
}