@joshdb/prettier-config 1.1.0-next.5f717fe.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "http://json.schemastore.org/prettierrc",
3
+ "endOfLine": "lf",
4
+ "printWidth": 150,
5
+ "quoteProps": "as-needed",
6
+ "semi": true,
7
+ "singleQuote": true,
8
+ "tabWidth": 2,
9
+ "trailingComma": "none",
10
+ "useTabs": false
11
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ <div align="center">
2
+
3
+ ![Josh Logo](https://evie.codes/josh-light.png)
4
+
5
+ # @joshdb/prettier-config
6
+
7
+ **Prettier configuration for all Josh Project repositories.**
8
+
9
+ [![GitHub](https://img.shields.io/github/license/josh-development/utilities)](https://github.com/josh-development/utilities/blob/main/LICENSE.md)
10
+ [![codecov](https://codecov.io/gh/josh-development/utilities/branch/main/graph/badge.svg?token=JnJcjxqT3k)](https://codecov.io/gh/josh-development/utilities)
11
+ [![npm](https://img.shields.io/npm/v/@joshdb/prettier-config?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@joshdb/prettier-config)
12
+
13
+ [![Support Server](https://discord.com/api/guilds/298508738623438848/embed.png?style=banner2)](https://discord.gg/N7ZKH3P)
14
+
15
+ </div>
16
+
17
+ ## Installation
18
+
19
+ You can use the following command to install this package, or replace `npm install` with your package manager of choice.
20
+
21
+ ```sh
22
+ npm install @joshdb/prettier-config
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ Add the Prettier config to your `package.json`:
28
+
29
+ ```json
30
+ {
31
+ "name": "my-project",
32
+ "prettier": "@joshdb/prettier-config"
33
+ }
34
+ ```
35
+
36
+ Or to `prettierrc.js`:
37
+
38
+ ```js
39
+ module.exports = require('@joshdb/prettier-config');
40
+ ```
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@joshdb/prettier-config",
3
+ "version": "1.1.0-next.5f717fe.0",
4
+ "description": "Standard Prettier config for the Josh Project",
5
+ "author": "Évelyne Lachance <eslachance@gmail.com> (https://evie.codes/)",
6
+ "contributors": [
7
+ "Hezekiah Hendry <hezekiah.hendry@gmail.com>"
8
+ ],
9
+ "main": ".prettierrc.json",
10
+ "exports": {
11
+ "import": "./.prettierrc.json",
12
+ "require": "./.prettierrc.json"
13
+ },
14
+ "sideEffects": false,
15
+ "scripts": {
16
+ "lint": "eslint src tests --ext ts --fix -c ../../.eslintrc",
17
+ "bump": "cliff-jumper",
18
+ "check-update": "cliff-jumper --dry-run"
19
+ },
20
+ "dependencies": {
21
+ "prettier": "^2.7.1"
22
+ },
23
+ "devDependencies": {
24
+ "@favware/cliff-jumper": "^1.8.8",
25
+ "typedoc": "^0.23.15",
26
+ "typedoc-json-parser": "^6.0.0"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/josh-development/utilities.git"
31
+ },
32
+ "files": [
33
+ ".prettierrc.json"
34
+ ],
35
+ "engines": {
36
+ "node": ">=16.6.0",
37
+ "npm": ">=7"
38
+ },
39
+ "keywords": [
40
+ "eslint"
41
+ ],
42
+ "bugs": {
43
+ "url": "https://github.com/josh-development/utilities/issues"
44
+ },
45
+ "homepage": "https://josh.evie.dev",
46
+ "publishConfig": {
47
+ "access": "public"
48
+ }
49
+ }