forked from westonruter/syntax-highlighting-code-block
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.52 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
{
"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"
},
"dependencies": {},
"devDependencies": {
"@wordpress/components": "^8.0.0",
"@wordpress/editor": "^9.4.0",
"@wordpress/element": "^2.5.0",
"@wordpress/hooks": "^2.4.0",
"@wordpress/i18n": "^3.5.0",
"@wordpress/scripts": "^3.3.0",
"eslint": "^5.3.0",
"eslint-config-wordpress": "^2.0.0",
"grunt": "^1.0.4",
"grunt-contrib-copy": "^1.0.0",
"grunt-wp-deploy": "^2.0.0",
"highlight.js": "github:highlightjs/highlight.js#9.17.1",
"lodash": "^4.17.15",
"npm-run-all": "^4.1.5"
},
"scripts": {
"update": "bin/update-highlight-libs.sh",
"build": "npm-run-all build:*",
"build:clean": "if [ -e dist ]; then rm -r dist; fi; if [ -e build ]; then rm -r build; fi",
"build:js": "wp-scripts 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 . -x '*wp-assets*'; cd ..; echo; echo \"ZIP of build: $(pwd)/syntax-highlighting-code-block.zip\"",
"deploy": "npm-run-all build deploy:*",
"deploy:verify-versions": "php bin/verify-version-consistency.php",
"deploy:wporg": "grunt wp_deploy",
"generate-language-names": "php ./bin/generate-language-names.php",
"generate-markdown-readme": "php ./vendor/xwp/wp-dev-lib/scripts/generate-markdown-readme",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"lint": "npm-run-all --parallel lint:*",
"lint:php": "vendor/bin/phpcs",
"lint:js": "wp-scripts lint-js",
"lint:pkg-json": "wp-scripts lint-pkg-json . --ignorePath .gitignore",
"start": "wp-scripts start"
},
"npmPackageJsonLintConfig": {
"extends": "@wordpress/npm-package-json-lint-config",
"rules": {
"require-version": "off"
}
},
"title": "Syntax-highlighting Code Block (with Server-side Rendering)"
}