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