Rename lint script

This commit is contained in:
alxshelepenok 2018-11-11 15:54:42 +03:00
parent 80973fab84
commit 76ff1f5eec
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ install:
- npm install -g codecov - npm install -g codecov
script: script:
- yarn install - yarn install
- yarn lint:all - yarn lint
- yarn test:coverage --runInBand --no-cache - yarn test:coverage --runInBand --no-cache
- yarn test --runInBand --no-cache - yarn test --runInBand --no-cache
- codecov - codecov

View File

@ -10,7 +10,7 @@
"clean": "rimraf .cache public", "clean": "rimraf .cache public",
"lint:js": "eslint --cache --ext .js,.jsx --ignore-pattern public .", "lint:js": "eslint --cache --ext .js,.jsx --ignore-pattern public .",
"lint:scss": "stylelint \"src/**/*.scss\"", "lint:scss": "stylelint \"src/**/*.scss\"",
"lint:all": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\"", "lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\"",
"test": "jest --config ./tests/jest-config.js", "test": "jest --config ./tests/jest-config.js",
"test:coverage": "jest --coverage --config ./tests/jest-config.js", "test:coverage": "jest --coverage --config ./tests/jest-config.js",
"test:watch": "jest --watch --config ./tests/jest-config.js" "test:watch": "jest --watch --config ./tests/jest-config.js"