diff --git a/packages/prettier-config-bananass/package.json b/packages/prettier-config-bananass/package.json index 64c0b4a..6f89587 100644 --- a/packages/prettier-config-bananass/package.json +++ b/packages/prettier-config-bananass/package.json @@ -29,11 +29,12 @@ "bugs": { "url": "https://github.com/lumirlumir/npm-bananass/issues" }, - "engines": { - "node": ">=20.18.0" - }, "scripts": { + "prepublishOnly": "npm run build", "build": "cp ../../LICENSE.md ../../README.md .", "test": "node --test" + }, + "peerDependencies": { + "prettier": ">=3.0.0" } } diff --git a/packages/prettier-config-bananass/src/index.js b/packages/prettier-config-bananass/src/index.js index eabe61b..d2ac244 100644 --- a/packages/prettier-config-bananass/src/index.js +++ b/packages/prettier-config-bananass/src/index.js @@ -2,13 +2,14 @@ * @fileoverview Entry file for the `prettier-config-bananass` package. * @module prettier-config-bananass * - * All default values are based on `prettier@3`. + * All default values are based on `prettier@3`. {@link https://prettier.io/docs/en/options} */ // -------------------------------------------------------------------------------- // Exports // -------------------------------------------------------------------------------- +/** @type {import("prettier").Config} */ module.exports = { printWidth: 90, tabWidth: 2, // Default.