-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.19 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.19 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
{
"name": "hamail",
"version": "1.0.0",
"description": "A WordPress plugin to enable balk email.",
"main": "index.js",
"scripts": {
"start": "wp-env start",
"update": "wp-env start --update",
"stop": "wp-env stop",
"env": "wp-env",
"env:install": "wp core download --path=wordpress --locale=ja",
"cli": "wp-env run cli wp",
"cli:test": "wp-env run tests-cli wp",
"test": "RESULT=${PWD##*/} && wp-env run tests-cli ./wp-content/plugins/$RESULT/vendor/bin/phpunit -c ./wp-content/plugins/$RESULT/phpunit.xml.dist",
"package": "npm run build:js && npm run build:css && npm run dump",
"build:css": "sass ./src/scss/:./assets/css/ --style=compressed && postcss ./assets/css/**/*.css --replace --use autoprefixer",
"build:js": "grab-deps js src/js assets/js",
"dump": "grab-deps dump 'assets/js,assets/css'",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "wp-scripts lint-style './src/scss/**/*.scss'",
"lint:js": "wp-scripts lint-js './src/js/**/*.js'",
"format:js": "eslint --fix ./src/js",
"format:css": "stylelint --fix ./src/scss",
"watch": "npm-watch",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hametuha/hamail.git"
},
"keywords": [
"wordpress"
],
"engines": {
"node": ">20.18.0"
},
"volta": {
"node": "20.18.0"
},
"author": "Hametuha INC.",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/hametuha/hamail/issues"
},
"homepage": "https://github.com/hametuha/hamail#readme",
"devDependencies": {
"@babel/runtime": "^7.28.4",
"@kunoichi/grab-deps": "^3.0.0",
"@wordpress/env": "^10.0.0",
"@wordpress/scripts": "^31.1.0",
"cssnano": "^7.0.1",
"husky": "^9.1.7",
"npm-watch": "^0.13.0",
"postcss-cli": "^11.0.0"
},
"watch": {
"build:css": {
"extensions": "scss",
"patterns": [
"src/scss"
]
},
"build:js": {
"extensions": "js",
"patterns": [
"src/js"
]
},
"dump": {
"extensions": "js,css,php,json",
"patterns": [
"assets/js",
"assets/css",
"assets/blocks"
]
},
"lint:css": {
"extensions": "scss",
"patterns": [
"src/scss"
]
},
"lint:js": {
"extensions": "js",
"patterns": [
"src"
]
}
}
}