-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
111 lines (111 loc) · 3.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "modula-best-grid-gallery",
"version": "2.11.1",
"description": "Modula Image Gallery build tools",
"author": "WPChill",
"license": "GPL-2.0-or-later",
"files": [
"/*",
"!.wordpress-org",
"!.husky",
"!.vscode",
"!.github",
"!package.json",
"!package-lock.json",
"!.wp-env.json",
"!webpack.config.js",
"!.php-cs-fixer.cache",
"!.eslintignore",
"!.distignore",
"!.DS_Store",
"!.git/*",
"!.babelrc",
"!.gitignore",
"!*/.gitignore",
"!postcss.config.js"
],
"scripts": {
"start:notification-system": "wp-scripts start --config webpack.config.notification-system.js",
"build:notification-system": "wp-scripts build --config webpack.config.notification-system.js",
"build": "npm run build:notification-system && wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:js-apps": "wp-scripts lint-js apps/**/*.js*",
"lint:js-apps-fix": "wp-scripts lint-js apps/**/*.js* --fix",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "npm run build && npm run clean && npm run copy && npm run bundle && npm run clean",
"clean": "rimraf build",
"copy": "node scripts/copy.js",
"bundle": "node scripts/bundle.js",
"start": "wp-scripts start",
"start:hot": "wp-scripts start --hot",
"prepare": "husky install",
"scss": "sass --watch assets/scss:assets/css",
"min:js": "uglifyjs-folder \"./assets/js/\" -eo \"./assets/js/\" --pattern \"**/*.js,!**/*min.js\" ",
"prefix-css": "postcss \"./assets/css/front/fancybox.css\" -o \"./assets/css/front/fancybox.css\"",
"min:css:backend": "cleancss --batch --batch-suffix \".min\" \"./assets/css/admin/*.css\" !\"./assets/css/admin/*.min.css\" ",
"min:css:frontend": "cleancss --batch --batch-suffix \".min\" \"./assets/css/front/*.css\" !\"./assets/css/front/*.min.css\" ",
"concat:css:frontend": "concat -o \"./assets/css/front.css\" \"./assets/css/front/fancybox.min.css\" \"./assets/css/front/modula.min.css\" ",
"min:css": "npm run min:css:frontend && npm run min:css:backend && npm run concat:css:frontend",
"makepot": "wp i18n make-pot . languages/modula-best-grid-gallery.pot",
"wpchill": "npm run min:css && npm run makepot"
},
"prettier": "@wordpress/prettier-config",
"stylelint": {
"extends": "@wordpress/stylelint-config/scss"
},
"lint-staged": {
"*.js": [
"wp-scripts lint-js",
"wp-scripts format"
],
"*.scss": "npx stylelint --fix"
},
"dependencies": {
"@tanstack/react-query": "^5.52.0",
"@wordpress/api-fetch": "^7.5.0",
"@wordpress/block-editor": "^14.0.0",
"@wordpress/blocks": "^13.5.0",
"@wordpress/components": "^28.5.0",
"@wordpress/data": "^10.5.0",
"@wordpress/element": "^6.5.0",
"@wordpress/i18n": "^5.7.0",
"he": "^1.2.0",
"interweave": "^13.1.0"
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/eslint-parser": "^7.24.6",
"@node-minify/core": "^8.0.6",
"@node-minify/uglify-js": "^8.0.6",
"@tanstack/eslint-plugin-query": "^5.59.7",
"@wordpress/eslint-plugin": "^18.1.0",
"@wordpress/scripts": "^26.13.0",
"@wordpress/stylelint-config": "^21.25.0",
"archiver": "^5.3.1",
"clean-css-cli": "^5.6.2",
"concat": "^1.0.3",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint-config-prettier": "^9.0.0",
"fs-extra": "^11.2.0",
"glob": "^10.3.3",
"husky": "^8.0.3",
"imagemin-cli": "^2.1.0",
"lint-staged": "^14.0.1",
"mini-css-extract-plugin": "^2.9.0",
"postcss": "^8.4.31",
"postcss-cli": "^11.0.0",
"postcss-prefix-selector": "^1.16.1",
"rimraf": "^5.0.1",
"sass": "^1.68.0",
"tinypng-cli": "^0.0.7",
"uglifyjs-folder": "^3.3.0",
"webpack-cli": "^5.1.4",
"webpack-remove-empty-scripts": "^1.0.4"
}
}