-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.73 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.73 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
41
42
43
44
45
46
47
{
"name": "jobbnorge-block",
"version": "2.3.0",
"description": "Jobbnorge Block for WordPress Gutenberg",
"author": "Per Søderlind <per@soderlind.no>",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/dss-web/jobbnorge-block",
"main": "build/init.js",
"files": [
"build/**",
"languages/**",
"*.{php,txt}"
],
"scripts": {
"build": "wp-scripts build",
"test": "jest --runInBand",
"bump": "wp-update-project-version -s package.json -p readme.txt src/block.json wp-jobb-norge.php",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start",
"i18n-pot": "wp i18n make-pot ./ ./languages/wp-jobbnorge-block.pot --headers='{\"Last-Translator\":\"Per Søderlind <per@soderlind.no\"}' && cp ./languages/wp-jobbnorge-block.pot ./languages/wp-jobbnorge-block-en_US.po",
"i18n-json": "wp i18n make-json languages/ --no-purge --pretty-print",
"i18n-mo": "for file in `find . -name \"*.po\"` ; do msgfmt -o ${file/.po/.mo} $file ; done",
"i18n": "npm run i18n-pot && npm run i18n-json && npm run i18n-mo"
},
"devDependencies": {
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^6.4.2",
"@wordpress/scripts": "^31.6.0",
"jest": "^29.7.0"
},
"dependencies": {
"@soderlind/wp-project-version-sync": "^2.0.1",
"@wordpress/block-editor": "^15.14.0",
"@wordpress/blocks": "^15.14.0",
"@wordpress/components": "^32.3.0",
"@wordpress/core-data": "^7.41.0",
"@wordpress/element": "^6.41.0",
"@wordpress/i18n": "^6.14.0",
"@wordpress/icons": "^11.8.0",
"@wordpress/server-side-render": "^6.17.0",
"@wordpress/url": "^4.41.0"
}
}