1
0
mirror of https://github.com/flarum/core.git synced 2025-08-30 19:40:02 +02:00

feat: add prettier formatting

This commit is contained in:
David Wheatley
2021-12-29 13:17:02 +01:00
parent 252cd8455b
commit 81b27ede28
8 changed files with 112 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
{
"private": true,
"name": "@flarum/markdown",
"prettier": "@flarum/prettier-config",
"dependencies": {
"flarum-webpack-config": "^1.0.0",
"webpack": "^4.46.0",
@@ -8,7 +9,13 @@
},
"scripts": {
"dev": "webpack --mode development --watch",
"build": "webpack --mode production"
"build": "webpack --mode production",
"format": "prettier --write src",
"format-check": "prettier --check src"
},
"packageManager": "yarn@3.1.1"
"packageManager": "yarn@3.1.1",
"devDependencies": {
"@flarum/prettier-config": "^1.0.0",
"prettier": "^2.5.1"
}
}