Replace npm run with yarn

This commit is contained in:
obergodmar
2020-08-19 15:36:05 +03:00
parent 44c523435f
commit 208d5e3433
+3 -2
View File
@@ -45,7 +45,8 @@
"stylelint-config-recommended-scss": "^4.2.0", "stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^20.0.0", "stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.18.0", "stylelint-scss": "^3.18.0",
"typescript": "^3.9.5" "typescript": "^3.9.5",
"yarn": "^1.22.4"
}, },
"scripts": { "scripts": {
"start": "serve ./build", "start": "serve ./build",
@@ -55,7 +56,7 @@
"eslint:fix": "npx eslint --ext .ts,.tsx . --fix ./src", "eslint:fix": "npx eslint --ext .ts,.tsx . --fix ./src",
"stylelint": "npx stylelint \"src/**/*.scss\"", "stylelint": "npx stylelint \"src/**/*.scss\"",
"stylelint:fix": "npx stylelint --fix \"src/**/*.scss\"", "stylelint:fix": "npx stylelint --fix \"src/**/*.scss\"",
"test": "npm run test:u && npm run test:cov", "test": "yarn test:u && yarn test:cov",
"test:u": "jest -u", "test:u": "jest -u",
"test:cov": "jest --coverage" "test:cov": "jest --coverage"
}, },