Skip to content

Commit 9154182

Browse files
committed
[#146] Add concurrently package
1 parent 52288d1 commit 9154182

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/cra-template/template.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@types/react": "17.0.40",
2424
"@types/react-dom": "17.0.13",
2525
"@cypress/instrument-cra": "1.4.0",
26+
"concurrently": "^7.6.0",
2627
"cypress": "9.5.2",
2728
"cypress-react-selector": "2.3.16",
2829
"danger": "10.9.0",
@@ -41,8 +42,8 @@
4142
"lint:fix": "eslint ./ --ext .js,.ts,.tsx --fix",
4243
"stylelint": "stylelint '**/*.scss'",
4344
"stylelint:fix": "stylelint '**/*.scss' --fix",
44-
"codebase:lint": "npm run lint && npm run stylelint",
45-
"codebase:fix": "npm run lint:fix && npm run stylelint:fix",
45+
"codebase:lint": "concurrently npm:lint npm:stylelint",
46+
"codebase:fix": "concurrently npm:lint:fix npm:stylelint:fix",
4647
"cypress": "start-server-and-test start 3000 cypress:run",
4748
"cypress:run": "cypress run",
4849
"cypress:open": "cypress open"

vite-template/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"lint:fix": "eslint ./src ./cypress --ext .ts,.tsx --fix",
4343
"stylelint": "stylelint '**/*.scss'",
4444
"stylelint:fix": "stylelint '**/*.scss' --fix",
45-
"codebase:lint": "npm run lint && npm run stylelint",
46-
"codebase:fix": "npm run lint:fix && npm run stylelint:fix",
45+
"codebase:lint": "concurrently npm:lint npm:stylelint",
46+
"codebase:fix": "concurrently npm:lint:fix npm:stylelint:fix",
4747
"cypress": "start-server-and-test start 3000 cypress:run",
4848
"cypress:run": "cypress run",
4949
"cypress:open": "cypress open"
@@ -105,6 +105,7 @@
105105
"@testing-library/react": "^13.3.0",
106106
"@testing-library/user-event": "^14.3.0",
107107
"@vitejs/plugin-react": "^2.0.0",
108+
"concurrently": "^7.6.0",
108109
"danger": "^10.9.0",
109110
"danger-plugin-code-coverage": "^1.1.9",
110111
"danger-plugin-istanbul-coverage": "^1.6.2",

0 commit comments

Comments
 (0)