-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 4.29 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 4.29 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "modernpress",
"version": "1.0.0",
"description": "A WordPress starter framework for Modern Tribe projects.",
"author": "Modern Tribe <admin@tri.be>",
"license": "GPL-2.0-or-later",
"keywords": [],
"homepage": "https://github.com/moderntribe/modernpress#readme",
"repository": "https://github.com/moderntribe/modernpress",
"bugs": {
"email": "admin@tri.be"
},
"browserslist": [
"defaults",
"not ios < 17.5",
"not op_mini all"
],
"engines": {
"node": ">=24.0",
"npm": ">=11.6"
},
"config": {
"coreThemeDir": "./wp-content/themes/core",
"corePluginDir": "./wp-content/plugins/core",
"coreThemeBlocksDir": "./wp-content/themes/core/blocks",
"coreBlockTemplatesDir": "../../../../../dev/templates"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@svgr/cli": "^8.1",
"@wordpress/icons": "^12.1.0",
"delegate": "^3.2.0",
"imagesloaded": "^5.0.0",
"swiper": "^12.0"
},
"devDependencies": {
"@csstools/postcss-global-data": "^4.0",
"@types/react": "^18.3.28",
"@wordpress/create-block": "^4.75.0",
"@wordpress/element": "^6.40.0",
"@wordpress/eslint-plugin": "^24.1",
"@wordpress/primitives": "^4.40.0",
"@wordpress/scripts": "^31.4",
"browser-sync": "^3.0.4",
"browser-sync-v3-webpack-plugin": "^0.1.0",
"cssnano": "^7.0.6",
"fast-glob": "^3.3.3",
"lefthook": "^2.1",
"postcss-import": "^16.1.0",
"postcss-inline-svg": "^6.0.0",
"postcss-mixins": "^12.1",
"postcss-preset-env": "^11.1",
"prettier": "npm:wp-prettier@^3.0.3",
"webpack-remove-empty-scripts": "^1.0.4"
},
"overrides": {
"minimatch": "^9.0.9",
"react": "^18.3",
"react-dom": "^18.3",
"serialize-javascript": "^7.0.5",
"webpack-dev-server": "^5.2.3"
},
"scripts": {
"dist": "NODE_ENV=production wp-scripts build --webpack-src-dir=$npm_package_config_coreThemeBlocksDir",
"build": "wp-scripts build --webpack-src-dir=$npm_package_config_coreThemeBlocksDir",
"dev": "wp-scripts start --webpack-src-dir=$npm_package_config_coreThemeBlocksDir",
"format": "npm run format:theme && npm run format:configs",
"format:theme": "wp-scripts format $npm_package_config_coreThemeDir",
"format:configs": "wp-scripts format \"./*.{js,json}\"",
"lint": "npm run format && npm run lint:js:fix && npm run lint:css:fix && npm run lint:configs && npm run lint:pkg-json",
"lint:css": "wp-scripts lint-style \"$npm_package_config_coreThemeDir/**/*.pcss\"",
"lint:css:fix": "wp-scripts lint-style \"$npm_package_config_coreThemeDir/**/*.pcss\" --fix",
"lint:js": "wp-scripts lint-js \"$npm_package_config_coreThemeDir/**/*.js\"",
"lint:js:fix": "wp-scripts lint-js \"$npm_package_config_coreThemeDir/**/*.js\" --fix",
"lint:configs": "wp-scripts lint-js \"./*.js\"",
"lint:configs:fix": "wp-scripts lint-js \"./*.js\" --fix",
"lint:pkg-json": "wp-scripts lint-pkg-json \"./package.json\"",
"lint:server": "npm run lint:js && npm run lint:css && npm run lint:configs && npm run lint:pkg-json",
"create-block": "cd \"$npm_package_config_coreThemeBlocksDir/tribe\" && npx @wordpress/create-block --no-plugin --namespace tribe --template $npm_package_config_coreBlockTemplatesDir",
"packages-update": "wp-scripts packages-update",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"icon-picker": "npm run icon-picker:cleanup-components && npm run icon-picker:generate-components && rm -f $npm_package_config_coreThemeBlocksDir/tribe/icon-picker/icons/components/index.js && npm run icon-picker:generate-icons-list && npm run icon-picker:strip-react-import && npm run icon-picker:lint",
"icon-picker:generate-components": "svgr --icon --out-dir=$npm_package_config_coreThemeBlocksDir/tribe/icon-picker/icons/components $npm_package_config_coreThemeBlocksDir/tribe/icon-picker/icons/svg",
"icon-picker:cleanup-components": "node $npm_package_config_coreThemeBlocksDir/tribe/icon-picker/scripts/cleanup-components.js",
"icon-picker:generate-icons-list": "node $npm_package_config_coreThemeBlocksDir/tribe/icon-picker/scripts/generate-icons-list.js",
"icon-picker:lint": "wp-scripts lint-js \"$npm_package_config_coreThemeBlocksDir/tribe/icon-picker/**/*.js\" --fix",
"icon-picker:strip-react-import": "node $npm_package_config_coreThemeBlocksDir/tribe/icon-picker/scripts/strip-react-import.js"
}
}