forked from WordPress/create-block-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.93 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
{
"name": "create-block-theme",
"version": "1.10.0",
"private": true,
"description": "Create a block-based theme",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"WordPress",
"block"
],
"homepage": "https://wordpress.org/plugins/create-block-theme/",
"repository": "git+https://github.com/WordPress/create-block-theme.git",
"bugs": {
"url": "https://wordpress.org/support/plugin/create-block-theme/"
},
"engines": {
"node": ">=16.9.1",
"npm": ">=7 <8"
},
"main": "build/index.js",
"dependencies": {
"@wordpress/icons": "^9.17.0",
"lib-font": "^2.4.0"
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@emotion/babel-plugin": "^11.10.5",
"@wordpress/browserslist-config": "^5.8.0",
"@wordpress/element": "^5.2.0",
"@wordpress/prettier-config": "^2.9.0",
"@wordpress/scripts": "^25.2.0",
"@wordpress/stylelint-config": "^21.9.0",
"babel-plugin-inline-json-import": "^0.3.2",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier": "npm:[email protected]",
"simple-git": "^3.14.1"
},
"scripts": {
"build": "wp-scripts build src/index.js src/plugin-sidebar.js src/wp-org-theme-directory.js",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:css:fix": "npm run lint:css -- --fix",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:php": "composer run-script lint",
"lint:php:fix": "composer run-script format",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start src/index.js src/plugin-sidebar.js src/wp-org-theme-directory.js",
"update-version": "node update-version-and-changelog.js",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,json,yml}": [
"wp-scripts format"
],
"*.js": [
"npm run lint:js"
],
"*.{css,scss}": [
"npm run lint:css"
],
"*.php": [
"npm run lint:php"
],
"package.json": [
"wp-scripts lint-pkg-json"
]
}
}