mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-18 06:05:14 +00:00
Add prettify command and run it
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"build": "next build && next export",
|
||||
"dev": "SERVER=http://localhost:9000/ ENV=development next",
|
||||
"prod": "ENV=production next build && next export",
|
||||
"lint": "eslint --ext .jsx --ext .js ."
|
||||
"lint": "eslint --ext .jsx --ext .js .",
|
||||
"prettify": "prettier --write {components,pages,styles}/{*,**/*}.js*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@zeit/next-css": "^1.0.1",
|
||||
@@ -37,5 +38,8 @@
|
||||
"eslint-config-prettier": "^6.3.0",
|
||||
"eslint-plugin-react": "^7.14.3",
|
||||
"prettier": "^1.18.2"
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user