-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.95 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
{
"name": "vsge-language-switcher",
"version": "1.0.0",
"author": "Erik",
"license": "GPL-2.0-or-later",
"main": "build/vsge-language-switcher.js",
"files": [
"build/*",
"inc/*",
"languages/*",
"block.json",
"vsge-language-switcher.php",
"LICENSE.md",
"readme.txt"
],
"scripts": {
"start": "wp-scripts start /src/index /src/frontend",
"build": "npm run build:scripts && npm run build:makepot",
"build:scripts": "wp-scripts build /src/index /src/frontend",
"build:makepot": "npx @wp-blocks/make-pot",
"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",
"wp-env": "npm run wp-env start -- --update"
},
"dependencies": {
"body-scroll-lock": "^4.0.0-beta.0",
"js-cookie": "^3.0.5"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@types/body-scroll-lock": "^3.1.2",
"@types/js-cookie": "^3.0.6",
"@types/wordpress__block-editor": "^11.5.15",
"@types/wordpress__blocks": "^12.5.14",
"@wordpress/babel-preset-default": "^8.1.0",
"@wordpress/block-editor": "^13.1.0",
"@wordpress/blocks": "^13.1.0",
"@wordpress/browserslist-config": "^6.1.0",
"@wordpress/eslint-plugin": "^19.1.0",
"@wordpress/prettier-config": "^4.1.0",
"@wordpress/stylelint-config": "^22.1.0",
"@wordpress/components": "^28.1.0",
"@wordpress/element": "^6.1.0",
"@wordpress/scripts": "^27.9.0"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"engines": {
"node": ">=14.0.0",
"npm": ">=6.9.0"
},
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
],
"env": {
"browser": true,
"node": true
},
"globals": {
"window": true,
"document": true,
"localStorage": true
}
},
"prettier": "@wordpress/prettier-config"
}