From 1930f7a178bbb14c60f4f4a32d04b7450639aa7d Mon Sep 17 00:00:00 2001 From: Arthaud Date: Tue, 28 Nov 2023 14:40:09 +0100 Subject: [PATCH] package: add prettier --- .prettierignore | 1 + .prettierrc | 1 + package-lock.json | 22 ++++++++++++++++++++++ package.json | 5 ++++- 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .prettierignore create mode 100644 .prettierrc create mode 100644 package-lock.json diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..16564d3 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +**/*.html \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..fe20dfd --- /dev/null +++ b/.prettierrc @@ -0,0 +1 @@ +"@hugolify/prettier-config" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..e824291 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,22 @@ +{ + "name": "hugolify-theme-persons-places", + "version": "1.1.2", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "hugolify-theme-persons-places", + "version": "1.1.2", + "license": "MIT", + "devDependencies": { + "@hugolify/prettier-config": "^0.3.1" + } + }, + "node_modules/@hugolify/prettier-config": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@hugolify/prettier-config/-/prettier-config-0.3.1.tgz", + "integrity": "sha512-t74NNtPARZLeMRfof+lYG3/tzLTj8uDm+g41ncpJm9wWePqLoqo3clYa0GAoPTNiiSFCWoL1NcZ+0u/SUKj8Lw==", + "dev": true + } + } +} diff --git a/package.json b/package.json index 7e0dc77..539600a 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,8 @@ "hugo-theme", "bootstrap" ], - "license": "MIT" + "license": "MIT", + "devDependencies": { + "@hugolify/prettier-config": "^0.3.1" + } }