|
8 | 8 | "test": "tests" |
9 | 9 | }, |
10 | 10 | "scripts": { |
11 | | - "test": "npm run stylelint && eslint && npm run phpcs", |
12 | 11 | "test:playwright": "playwright test -c tests/playwright/playwright.config.ts", |
13 | 12 | "test:playwright:debug": "npm run test:playwright -- --debug", |
14 | 13 | "test:playwright:ui": "npm run test:playwright -- --ui", |
|
20 | 19 | "build": "webpack", |
21 | 20 | "watch": "webpack --watch", |
22 | 21 | "bundle": "ts-node scripts/bundle.ts", |
23 | | - "phpcs": "src/vendor/bin/phpcs -s --colors ./src/phpcs.xml", |
24 | | - "phpcbf": "src/vendor/bin/phpcbf ./src/phpcs.xml", |
25 | | - "stylelint": "stylelint --fix 'src/css/**/*.scss'", |
| 22 | + "lint": "npm run lint-styles && npm run lint-js && npm run lint-php", |
| 23 | + "lint-styles": "stylelint 'src/css/**/*.scss'", |
| 24 | + "lint-styles-fix": "stylelint --fix 'src/css/**/*.scss'", |
| 25 | + "lint-js": "eslint", |
| 26 | + "lint-js-fix": "eslint --fix", |
| 27 | + "lint-php": "src/vendor/bin/phpcs -s --colors ./src/phpcs.xml", |
| 28 | + "lint-php-fix": "src/vendor/bin/phpcbf ./src/phpcs.xml", |
26 | 29 | "version": "ts-node scripts/version.ts", |
27 | 30 | "version-dev": "npm version --git-tag-version=false --preid=dev", |
28 | 31 | "version-alpha": "npm version --git-tag-version=false --preid=alpha", |
|
0 commit comments