-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
59 lines (59 loc) · 1.67 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
{
"name": "create-content-model",
"version": "0.0.0-placeholder",
"scripts": {
"prepare": "husky",
"dev-server": "npx @wp-now/wp-now start --wp=nightly --skip-browser --blueprint=dev.json",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"start": "wp-scripts start",
"build": "wp-scripts build",
"preplugin-zip": "npm run build",
"plugin-zip": "wp-scripts plugin-zip"
},
"files": [
"create-content-model.php",
"includes/**/*.php",
"includes/**/dist"
],
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"@wordpress/block-editor": "^14.0.0",
"@wordpress/blocks": "^13.5.0",
"@wordpress/components": "^28.5.0",
"@wordpress/compose": "^7.5.0",
"@wordpress/data": "^10.5.0",
"@wordpress/hooks": "^4.5.0",
"@wordpress/i18n": "^5.5.0",
"@wordpress/icons": "^10.5.0",
"@wordpress/server-side-render": "^5.5.0"
},
"devDependencies": {
"@wordpress/eslint-plugin": "^20.0.0",
"@wordpress/prettier-config": "^4.3.0",
"@wordpress/scripts": "^27.9.0",
"glob": "^11.0.0",
"husky": "^9.1.4",
"prettier": "npm:wp-prettier@^3.0.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,ts,tsx,yml,yaml}": [
"npm run format"
],
"*.{js,ts,tsx}": [
"npm run lint:js"
],
"*.scss": [
"npm run lint:css"
]
}
}