-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
37 lines (37 loc) · 1.33 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
{
"name": "rpb-chessboard",
"private": true,
"dependencies": {
"@wordpress/block-editor": "^14.7.0",
"@wordpress/blocks": "^14.1.0",
"@wordpress/components": "^28.12.0",
"@wordpress/data": "^10.12.0",
"@wordpress/icons": "^10.12.0",
"kokopu": "^4.11.2",
"kokopu-react": "^3.3.1",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@stylistic/eslint-plugin": "^2.11.0",
"@wordpress/scripts": "^30.5.0",
"archiver": "^7.0.1",
"eslint": "^9.15.0",
"eslint-plugin-react": "^7.37.2",
"globals": "^15.12.0",
"rimraf": "^6.0.1",
"uglifycss": "^0.0.29"
},
"scripts": {
"lint": "npm run lint:js && npm run lint:php",
"lint:js": "eslint src",
"lint:php": "phpcs --colors php rpb-chessboard.php",
"build": "npm run build:css && npm run build:i18n && npm run build:js",
"build:css": "uglifycss --output css/admin.min.css css/admin.css",
"build:i18n": "make -f scripts/Makefile i18n-compile",
"build:js": "wp-scripts build",
"clean": "rimraf build css/admin.min.css rpb-chessboard.zip && make -f scripts/Makefile clean",
"prepack": "npm run lint && npm run build",
"pack": "node scripts/build-archive.js"
}
}