|
18 | 18 | "build:prod": "webpack --config ./config/webpack.prod.js",
|
19 | 19 | "start:dev": "cross-env STYLE_THEME=$npm_config_theme webpack serve --hot --color --config ./config/webpack.dev.js",
|
20 | 20 | "start:dev:mock": "cross-env MOCK_API_ENABLED=true STYLE_THEME=$npm_config_theme npm run start:dev",
|
21 |
| - "test": "run-s test:lint test:unit test:cypress-ci", |
| 21 | + "test": "run-s prettier:check test:lint test:unit test:cypress-ci", |
22 | 22 | "test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock -- {@}\" -- ",
|
23 | 23 | "test:jest": "jest --passWithNoTests",
|
24 | 24 | "test:unit": "npm run test:jest -- --silent",
|
25 | 25 | "test:watch": "jest --watch",
|
26 | 26 | "test:coverage": "jest --coverage",
|
27 |
| - "test:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix", |
28 | 27 | "test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ./src",
|
| 28 | + "test:lint:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix", |
| 29 | + "test:fix": "run-s prettier test:lint:fix", |
29 | 30 | "cypress:open": "cypress open --project src/__tests__/cypress",
|
30 | 31 | "cypress:open:mock": "CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:open -- ",
|
31 | 32 | "cypress:run": "cypress run -b chrome --project src/__tests__/cypress",
|
|
0 commit comments