-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 2.71 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
{
"name": "moose",
"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/moose#readme",
"repository": "https://github.com/moderntribe/moose",
"bugs": {
"email": "admin@tri.be"
},
"browserslist": [
"defaults",
"not ios < 17.5",
"not op_mini all"
],
"engines": {
"node": ">=20.10.0",
"npm": ">=10.2.3"
},
"config": {
"coreThemeDir": "./wp-content/themes/core",
"corePluginDir": "./wp-content/plugins/core",
"coreThemeBlocksDir": "./wp-content/themes/core/blocks",
"coreBlockTemplatesDir": "../../../../../dev/templates"
},
"devDependencies": {
"@csstools/postcss-global-data": "^3.0.0",
"@wordpress/create-block": "^4.55.0",
"@wordpress/scripts": "^30.5.1",
"browser-sync": "^3.0.3",
"browser-sync-v3-webpack-plugin": "^0.1.0",
"cssnano": "^7.0.6",
"fast-glob": "^3.3.1",
"lefthook": "^1.8.4",
"postcss-import": "^16.1.0",
"postcss-inline-svg": "^6.0.0",
"postcss-mixins": "^11.0.3",
"postcss-preset-env": "^10.1.1",
"webpack-remove-empty-scripts": "^1.0.4"
},
"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\"",
"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",
"server-lint": "npm run lint:js && npm run lint:css && npm run lint:configs && npm run lint:pkg-json"
}
}