-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.52 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.52 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
93
94
95
96
{
"name": "swfj-web",
"version": "1.0.0",
"description": "a WordPress plugin for ",
"main": "index.js",
"scripts": {
"start": "wp-env start",
"setup": "wp-env start && wp-env run cli wp theme activate lightning-pro && wp-env run cli wp language core install ja && wp-env run cli language core activate ja",
"debug": "wp-env start --xdebug",
"update": "wp-env start --update",
"stop": "wp-env stop",
"test": "wp-env run tests-cli ./wp-content/plugins/sfwj-web/vendor/bin/phpunit -c wp-content/plugins/sfwj-web/phpunit.xml.dist",
"env": "wp-env",
"cli": "wp-env run cli wp",
"cli:test": "wp-env run tests-cli wp",
"env:install": "wp core download --path=wp --locale=ja",
"env:download": "node ./bin/compiler.js env",
"build": "npm run build:js && npm run build:css && npm run dump && npm run imagemin",
"build:css": "sass ./assets/scss/:./dist/css/ && postcss ./dist/css/**/*.css --replace",
"build:js": "node ./bin/compiler.js js",
"dump": "node ./bin/compiler.js dump",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "wp-scripts lint-style ./assets/**/*.scss",
"lint:js": "wp-scripts lint-js ./assets",
"imagemin": "node ./bin/imagemin.mjs assets/image dist/image",
"format:js": "wp-scripts format ./assets",
"watch": "npm-watch"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sfwj-admin/sfwj-web.git"
},
"keywords": [
"wordpress"
],
"author": "SFWJ",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/sfwj-admin/sfwj-web/issues"
},
"homepage": "https://github.com/sfwj-admin/sfwj-web#readme",
"devDependencies": {
"@kunoichi/grab-deps": "^1.3.1",
"@wordpress/create-block": "^4.31.0",
"@wordpress/env": "^9.10.0",
"@wordpress/scripts": "^26.18.0",
"@wordpress/stylelint-config": "^21.30.0",
"cssnano": "^6.0.1",
"glob": "^10.3.10",
"imagemin": "^8.0.1",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^10.0.1",
"npm-watch": "^0.11.0",
"postcss-cli": "^11.0.0"
},
"volta": {
"node": "18.20.5"
},
"watch": {
"build:js": {
"extensions": "js",
"patterns": [
"assets/js"
]
},
"build:css": {
"extensions": "scss",
"patterns": [
"assets/scss"
]
},
"lint:js": {
"extensions": "js",
"patterns": [
"assets/js"
]
},
"lint:css": {
"extensions": "scss",
"patterns": [
"assets/scss"
]
},
"dump": {
"extensions": "css,js",
"patterns": [
"dist/{js,css}"
]
}
}
}