chore: prettier mugitzen du

This commit is contained in:
Aitor Urrutia
2022-01-14 20:31:04 +01:00
parent 3d86958647
commit d0bb44e202
5 changed files with 10 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
front/node_modules
front/public
front/.cache

3
front/.prettierignore Normal file
View File

@@ -0,0 +1,3 @@
node_modules
public
.cache

View File

@@ -13,7 +13,8 @@
"start": "gatsby develop",
"build": "gatsby build",
"serve": "gatsby serve",
"clean": "gatsby clean"
"clean": "gatsby clean",
"prettier": "prettier . --write"
},
"dependencies": {
"babel-plugin-styled-components": "^2.0.2",
@@ -31,5 +32,8 @@
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"styled-components": "^5.3.3"
},
"devDependencies": {
"prettier": "^2.5.1"
}
}

View File

@@ -11,7 +11,7 @@
"start:back": "yarn workspace back start",
"develop:back": "yarn workspace back develop",
"develop:front": "yarn workspace front develop",
"prettier:front": "yarn prettier front --write"
"prettier:front": "yarn workspace front prettier"
},
"repository": {
"type": "git",
@@ -28,8 +28,5 @@
"bugs": {
"url": "https://github.com/labasarea/laba-webgunea/issues"
},
"homepage": "https://github.com/labasarea/laba-webgunea#readme",
"devDependencies": {
"prettier": "^2.5.1"
}
"homepage": "https://github.com/labasarea/laba-webgunea#readme"
}