-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.16 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
{
"name": "boilerplate",
"version": "0.1.0",
"description": "Example block written with ESNext standard and JSX support – build step required.",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build",
"format": "wp-scripts format && stylelint \"**/*.scss\" --fix",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"start": "wp-scripts start",
"packages-update": "wp-scripts packages-update",
"prepare": "husky install"
},
"prettier": "@wordpress/prettier-config",
"stylelint": {
"extends": "@wordpress/stylelint-config/scss"
},
"lint-staged": {
"*.js": [
"wp-scripts lint-js",
"wp-scripts format"
],
"*.scss": "npx stylelint --fix"
},
"dependencies": {
"@wordpress/block-editor": "^8.0.11",
"@wordpress/blocks": "^11.1.4",
"@wordpress/i18n": "^4.2.4"
},
"devDependencies": {
"@wordpress/eslint-plugin": "^9.3.0",
"@wordpress/prettier-config": "^1.1.1",
"@wordpress/scripts": "^19.2.2",
"@wordpress/stylelint-config": "^19.1.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.3"
}
}