-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 832 Bytes
/
package.json
File metadata and controls
24 lines (24 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "section",
"version": "0.1.0",
"description": "Section Block for Gutenberg",
"author": "Bharath",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build",
"format:js": "wp-scripts format-js",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"start": "wp-scripts start",
"packages-update": "wp-scripts packages-update",
"i18n": "npm run i18n-pot && npm run i18n-json && npm run i18n-mo",
"i18n-pot": "wp i18n make-pot ./ languages/section.pot && cp ./languages/section.pot ./languages/section-en_US.po",
"i18n-json": "wp i18n make-json languages/",
"i18n-mo": "for file in `find . -name \"*.po\"` ; do msgfmt -o ${file/.po/.mo} $file ; done"
},
"devDependencies": {
"@wordpress/scripts": "^12.2.0",
"classnames": "^2.2.6"
}
}