update devenv
This commit is contained in:
parent
3511146c98
commit
790ef303bb
@ -8,9 +8,18 @@
|
|||||||
"wp": "readonly"
|
"wp": "readonly"
|
||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"plugin:@wordpress/eslint-plugin/recommended",
|
"plugin:@wordpress/eslint-plugin/custom",
|
||||||
"plugin:@wordpress/eslint-plugin/es5"
|
"plugin:@wordpress/eslint-plugin/es5",
|
||||||
|
"plugin:@wordpress/eslint-plugin/i18n"
|
||||||
],
|
],
|
||||||
|
"rules": {
|
||||||
|
"@wordpress/i18n-text-domain": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowedTextDomain": [ "stklcode-liveticker" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": [
|
"files": [
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,3 @@
|
|||||||
composer.lock
|
|
||||||
package-lock.json
|
|
||||||
/vendor/
|
/vendor/
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/dist/
|
/dist/
|
||||||
|
@ -23,13 +23,13 @@
|
|||||||
"require-dev": {
|
"require-dev": {
|
||||||
"php": ">=7",
|
"php": ">=7",
|
||||||
"consolidation/robo": "^2",
|
"consolidation/robo": "^2",
|
||||||
"phpunit/phpunit": "^8",
|
"phpunit/phpunit": "^9",
|
||||||
"phpunit/php-code-coverage": "^7",
|
"phpunit/php-code-coverage": "^9",
|
||||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6",
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
|
||||||
"slowprog/composer-copy-file": "~0.3",
|
"slowprog/composer-copy-file": "~0.3",
|
||||||
"squizlabs/php_codesniffer": "^3.5",
|
"squizlabs/php_codesniffer": "^3.5",
|
||||||
"phpcompatibility/php-compatibility": "^9.3",
|
"phpcompatibility/php-compatibility": "^9.3",
|
||||||
"wp-coding-standards/wpcs": "^2.2",
|
"wp-coding-standards/wpcs": "^2.3",
|
||||||
"patchwork/jsqueeze": "^2.0",
|
"patchwork/jsqueeze": "^2.0",
|
||||||
"natxet/cssmin": "^3.0",
|
"natxet/cssmin": "^3.0",
|
||||||
"matthiasmullie/minify": "^1.3"
|
"matthiasmullie/minify": "^1.3"
|
||||||
@ -65,12 +65,12 @@
|
|||||||
"phpcs --standard=phpcs.xml -s"
|
"phpcs --standard=phpcs.xml -s"
|
||||||
],
|
],
|
||||||
"lint-css": [
|
"lint-css": [
|
||||||
"./node_modules/stylelint/bin/stylelint.js styles/block.css",
|
"npx stylelint styles/block.css",
|
||||||
"./node_modules/stylelint/bin/stylelint.js styles/liveticker.css"
|
"npx stylelint styles/liveticker.css"
|
||||||
],
|
],
|
||||||
"lint-js": [
|
"lint-js": [
|
||||||
"./node_modules/eslint/bin/eslint.js scripts/block.js",
|
"npx eslint scripts/block.js",
|
||||||
"./node_modules/eslint/bin/eslint.js scripts/liveticker.js"
|
"npx eslint scripts/liveticker.js"
|
||||||
],
|
],
|
||||||
"minify": [
|
"minify": [
|
||||||
"minifycss styles/block.css > styles/block.min.css",
|
"minifycss styles/block.css > styles/block.min.css",
|
||||||
|
4402
composer.lock
generated
Normal file
4402
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
3502
package-lock.json
generated
Normal file
3502
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -5,9 +5,9 @@
|
|||||||
"author": "Stefan Kalscheuer",
|
"author": "Stefan Kalscheuer",
|
||||||
"license": "GPL-2.0+",
|
"license": "GPL-2.0+",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@wordpress/eslint-plugin": "^3",
|
"@wordpress/eslint-plugin": "^7",
|
||||||
"eslint": "^6",
|
"eslint": "^7",
|
||||||
"stylelint": "^13",
|
"stylelint": "^13",
|
||||||
"stylelint-config-wordpress": "^16"
|
"stylelint-config-wordpress": "^17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user