mirror of
https://github.com/WordPress/create-block-theme.git
synced 2025-10-03 16:11:13 +08:00
Add browserlist config
This commit is contained in:
parent
b8d66b7abd
commit
09b5c79ad1
5 changed files with 33 additions and 4 deletions
1
.browserslistrc
Normal file
1
.browserslistrc
Normal file
|
@ -0,0 +1 @@
|
|||
extends @wordpress/browserslist-config
|
25
.editorconfig
Normal file
25
.editorconfig
Normal file
|
@ -0,0 +1,25 @@
|
|||
# This file is for unifying the coding style for different editors and IDEs
|
||||
# editorconfig.org
|
||||
|
||||
# WordPress Coding Standards
|
||||
# https://make.wordpress.org/core/handbook/coding-standards/
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = tab
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{gradle,java,kt}]
|
||||
indent_style = space
|
||||
|
||||
[packages/react-native-*/**.xml]
|
||||
indent_style = space
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
vendor
|
||||
node_modules
|
||||
build
|
||||
admin/js/lib
|
||||
admin/js/lib
|
||||
|
|
5
package-lock.json
generated
5
package-lock.json
generated
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"name": "create-block-theme",
|
||||
"version": "1.3.10",
|
||||
"version": "1.4.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "create-block-theme",
|
||||
"version": "1.3.10",
|
||||
"version": "1.4.0",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"devDependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"@wordpress/block-library": "^8.2.0",
|
||||
"@wordpress/browserslist-config": "^5.8.0",
|
||||
"@wordpress/element": "^5.2.0",
|
||||
"@wordpress/prettier-config": "^2.8.0",
|
||||
"@wordpress/scripts": "^25.2.0",
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"devDependencies": {
|
||||
"@actions/core": "^1.10.0",
|
||||
"@wordpress/block-library": "^8.2.0",
|
||||
"@wordpress/browserslist-config": "^5.8.0",
|
||||
"@wordpress/element": "^5.2.0",
|
||||
"@wordpress/prettier-config": "^2.8.0",
|
||||
"@wordpress/scripts": "^25.2.0",
|
||||
|
@ -42,4 +43,4 @@
|
|||
"start": "wp-scripts start",
|
||||
"update-version": "node update-version-and-changelog.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue