Skip to content

Commit 76e6055

Browse files
committed
removed bash c
1 parent 1a0a423 commit 76e6055

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ services:
66
volumes:
77
- .:/usr/src/app
88
- /usr/src/app/node_modules
9-
command: bash -c "npm run lint && npm test"
9+
command: npm run docker-test-lint

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"test": "jest --verbose --coverage --watchAll",
99
"lint": "eslint --ext .js --ext .jsx src",
1010
"docker-build": "docker build -t reacttt/test-lint .",
11-
"docker-check": "docker-compose up --abort-on-container-exit"
11+
"docker-check": "docker-compose up --abort-on-container-exit",
12+
"docker-test-lint": "npm run lint && npm test"
1213
},
1314
"keywords": [
1415
"react",

0 commit comments

Comments
 (0)