-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3 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
112
113
114
115
{
"name": "wp-checkin",
"version": "1.0.0",
"description": "A checkin system for WordCamp Tokyo.",
"main": "gulpfile.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",
"env:download": "node ./bin/compiler.js env",
"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",
"build": "npm run build:js && npm run build:css && npm run dump && npm run imagemin",
"build:block": "wp-scripts build --webpack-src-dir=src/blocks --output-path=build/blocks",
"build:css": "sass ./src/scss/:./build/css/ --style=compressed && postcss ./build/css/**/*.css --use autoprefixer --replace",
"build:js": "node ./bin/compiler.js js",
"create:block": "node ./bin/compiler.js block",
"dump": "node ./bin/compiler.js dump",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "wp-scripts lint-style ./src/**/*.scss",
"lint:js": "eslint ./src/js",
"fix:js": "eslint --fix ./src/js",
"imagemin": "node ./bin/imagemin.mjs src/img build/img",
"format:js": "eslint --fix ./src/js",
"watch": "npm-watch"
},
"engines": {
"node": ">= 18.19.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jawordpressorg/wp-checkin.git"
},
"keywords": [
"wordpress"
],
"author": "Fumiki Takahashi and contributors",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/jawordpressorg/wp-checkin/issues"
},
"homepage": "https://github.com/jawordpressorg/wp-checkin#readme",
"devDependencies": {
"@kunoichi/grab-deps": "^1.3.1",
"@wordpress/browserslist-config": "^5.32.0",
"@wordpress/create-block": "^4.33.0",
"@wordpress/env": "^9.1.0",
"@wordpress/eslint-plugin": "^17.6.0",
"@wordpress/scripts": "^27.0.0",
"@wordpress/stylelint-config": "^21.32.0",
"autoprefixer": "^10.4.17",
"classnames": "^2.5.1",
"cssnano": "^6.0.3",
"eslint": "^8.56.0",
"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": "^8.4.33",
"postcss-cli": "^11.0.0",
"webpack-cli": "^5.1.4"
},
"watch": {
"build:block": {
"extensions": "js,scss,json",
"patterns": [
"src/blocks"
]
},
"build:css": {
"extensions": "scss",
"patterns": [
"src/scss"
]
},
"build:js": {
"extensions": "js",
"patterns": [
"src/js"
]
},
"dump": {
"extensions": "js,css,php,json",
"patterns": [
"build/js",
"build/css",
"build/blocks"
]
},
"imagemin": {
"extensions": "jpg,jpeg,gif,png,svg",
"patterns": [
"src/image"
]
},
"lint:css": {
"extensions": "scss",
"patterns": [
"src/scss"
]
},
"lint:js": {
"extensions": "js",
"patterns": [
"src"
]
}
}
}