Add prettier as an explicit dev dependency

This commit is contained in:
Justin Holguín
2025-03-17 21:41:33 +00:00
committed by GitHub
parent fef74437e1
commit edddf01ef3
2 changed files with 25 additions and 2 deletions

22
package-lock.json generated
View File

@@ -27,6 +27,7 @@
"eslint-plugin-n": "^15.1.0",
"eslint-plugin-promise": "^6.0.0",
"jest": "^28.0.0",
"prettier": "^3.5.3",
"ts-jest": "^28.0.4",
"typescript": "^4.6.4"
}
@@ -5067,6 +5068,21 @@
"node": ">= 0.8.0"
}
},
"node_modules/prettier": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/pretty-format": {
"version": "28.1.1",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.1.tgz",
@@ -9724,6 +9740,12 @@
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
"dev": true
},
"prettier": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
"dev": true
},
"pretty-format": {
"version": "28.1.1",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-28.1.1.tgz",

View File

@@ -5,8 +5,8 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"format": "npx prettier --write '**/*.ts'",
"format-check": "npx prettier --check '**/*.ts'",
"lint": "eslint --fix src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"test": "jest --testTimeout=10000",
@@ -36,6 +36,7 @@
"eslint-plugin-n": "^15.1.0",
"eslint-plugin-promise": "^6.0.0",
"jest": "^28.0.0",
"prettier": "^3.5.3",
"ts-jest": "^28.0.4",
"typescript": "^4.6.4"
},