-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
71 lines (71 loc) · 2.66 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": "custom-plugin",
"version": "1.0.0",
"description": "Empower your WordPress plugin development with our starter pack, featuring Gulp pre-configured for effortlessly creating a custom WordPress Plugin Boilerplate in under a minute.",
"license": "GPL-2.0-or-later",
"author": "Vijay Hardaha <https://twitter.com/vijayhardaha>",
"homepage": "https://github.com/vijayhardaha/wordpress-plugin-boilerplate#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/vijayhardaha/wordpress-plugin-boilerplate.git"
},
"bugs": {
"url": "https://github.com/vijayhardaha/wordpress-plugin-boilerplate/issues"
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"scripts": {
"dev": "gulp watch",
"prebuild": "npm run lint-fix",
"prebuild:css": "npm run lint-fix:css",
"prebuild:js": "npm run lint-fix:js",
"build": "gulp build",
"build:css": "gulp css",
"build:js": "gulp js",
"lint:css": "stylelint src/scss/**/*.{scss,css}",
"lint:js": "eslint src/js/**/*.js",
"lint:php": "composer run-script lint",
"lint": "npm run lint:css && npm run lint:js && npm run lint:php",
"lint-fix:css": "stylelint src/scss/**/*.{scss,css} --fix",
"lint-fix:js": "eslint src/js/**/*.js --fix",
"lint-fix:php": "composer run-script lint-fix",
"lint-fix": "npm run lint-fix:css && npm run lint-fix:js && npm run lint-fix:php",
"prezip": "rm -rf custom-plugin.zip",
"zip": "zip -r custom-plugin.zip ./*.php assets includes languages -x '**/.DS_Store'",
"makepot": "wp i18n make-pot . --exclude=\"node_modules,vendor\" --slug=custom-plugin",
"setup": "node setup.mjs && pnpm install"
},
"devDependencies": {
"@wordpress/browserslist-config": "^6.2.0",
"@wordpress/eslint-plugin": "^19.2.0",
"@wordpress/stylelint-config": "^22.2.0",
"autoprefixer": "^10.4.19",
"del": "^7.1.0",
"eslint": "^8.56.0",
"eslint-plugin-jsdoc": "^48.5.0",
"gulp": "^5.0.0",
"gulp-clean-css": "^4.3.0",
"gulp-clone": "^2.0.1",
"gulp-concat": "^2.6.1",
"gulp-flatten": "^0.4.0",
"gulp-group-css-media-queries": "^1.2.2",
"gulp-imagemin": "^9.1.0",
"gulp-plumber": "^1.2.1",
"gulp-postcss": "^10.0.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^5.1.0",
"gulp-terser": "^2.1.0",
"merge-stream": "^2.0.0",
"ora": "^8.0.1",
"postcss": "^8.4.38",
"postcss-discard-duplicates": "^7.0.0",
"prompts": "^2.4.2",
"replace-in-file": "^8.0.1",
"sass": "^1.77.6",
"stylelint": "^14.16.1",
"stylelint-config-property-sort-order-smacss": "^10.0.0",
"stylelint-order": "^6.0.4"
},
"packageManager": "pnpm@9.1.3+sha512.7c2ea089e1a6af306409c4fc8c4f0897bdac32b772016196c469d9428f1fe2d5a21daf8ad6512762654ac645b5d9136bb210ec9a00afa8dbc4677843ba362ecd"
}