We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a0a423 commit 76e6055Copy full SHA for 76e6055
docker-compose.yml
@@ -6,4 +6,4 @@ services:
6
volumes:
7
- .:/usr/src/app
8
- /usr/src/app/node_modules
9
- command: bash -c "npm run lint && npm test"
+ command: npm run docker-test-lint
package.json
@@ -8,7 +8,8 @@
"test": "jest --verbose --coverage --watchAll",
"lint": "eslint --ext .js --ext .jsx src",
10
"docker-build": "docker build -t reacttt/test-lint .",
11
- "docker-check": "docker-compose up --abort-on-container-exit"
+ "docker-check": "docker-compose up --abort-on-container-exit",
12
+ "docker-test-lint": "npm run lint && npm test"
13
},
14
"keywords": [
15
"react",
0 commit comments