Registry / devops / prettier-pack

prettier-pack

JSON →
library0.0.14jsnpmunverified

A bundled package that includes Prettier, ESLint, Husky, lint-staged, Flow, and React-related ESLint plugins (babel-eslint, eslint-config-prettier, eslint-plugin-babel, eslint-plugin-flowtype, eslint-plugin-import, eslint-plugin-prettier, eslint-plugin-react, flow-bin, flow-webpack-plugin) for quick setup of code formatting and linting. Version 0.0.14 is the latest, with infrequent releases. The package is opinionated and monolithic, bundling many dependencies together, which can lead to version conflicts and bloat. It is intended for novice users who want a one-command setup, but is not actively maintained and lacks flexibility compared to using the individual tools directly.

npm install prettier-pack
INSTALL
IMPORT
SIG · PRETTIER-PACK
P
prettier-pack
devopsjavascriptv0.0.14
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prettier-pack
npm install prettier-pack --save-dev
npm install prettier-pack --save
Typically installed as dev dependency. v0.0.14 uses CommonJS, not ESM.
.prettierrc
module.exports = { semi: false, singleQuote: true }
No standard config file provided; user must create their own.
The package does not include a default Prettier config; you must supply your own .prettierrc or similar.
ESLint config
extends: ['prettier-pack']
extends: ['prettier']
Use 'prettier-pack' as the ESLint config name. The package re-exports a config from eslint-config-prettier and plugins.

Install prettier-pack and configure ESLint, Husky, and lint-staged for automated formatting on commit.

// 1. Install the package npm install --save-dev prettier-pack // 2. Create .prettierrc (example) { "semi": false, "singleQuote": true } // 3. Extend ESLint config in .eslintrc { "extends": ["prettier-pack"], "rules": {} } // 4. Add lint-staged to package.json "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ] } // 5. Run npx prettier-check . to verify formatting
Debug
Known issues
deprecatedPackage bundles many dependencies with fixed versions, leading to potential version conflicts.
fix
Install individual tools (Prettier, ESLint, etc.) separately and manage versions yourself.
affects: >=0.0.0
gotchaThe package does not provide a default Prettier config; users must create their own .prettierrc.
fix
Create .prettierrc file in your project root with desired options.
affects: >=0.0.0
gotchaESLint config 'prettier-pack' may not include all necessary rules for your project.
fix
Extend the config and override rules as needed.
affects: >=0.0.0
gotchaThe package includes flow-bin and flow-webpack-plugin, which may not be needed if not using Flow.
fix
Consider removing Flow-related dependencies if not used.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'eslint-config-prettier-pack'
ESLint config name is incorrect; should be 'prettier-pack' without 'eslint-config-'.
fix
Use 'extends': ['prettier-pack'] in .eslintrc
Error: Could not resolve 'babel-eslint'
The package bundles babel-eslint but it may not be installed as a top-level dependency.
fix
Install babel-eslint separately or ensure prettier-pack is hoisted correctly.
Upgrade
Version history
0.0.14latest on npm
Audit
Dependencies
babel-eslintrequiredLinting with Babel support
eslint-config-prettierrequiredDisables conflicting ESLint rules
eslint-plugin-babelrequiredESLint plugin for Babel
eslint-plugin-flowtyperequiredFlow type linting rules
eslint-plugin-importrequiredESLint plugin for import/export
eslint-plugin-prettierrequiredRuns Prettier as ESLint rule
eslint-plugin-reactrequiredReact linting rules
flow-binrequiredFlow type checker
flow-webpack-pluginrequiredWebpack plugin for Flow
huskyrequiredGit hooks
lint-stagedrequiredRun linters on staged files
prettier-eslint-clirequiredCLI for prettier-eslint
Agent activity
4 hits · last 30 days
node
4
Resources
prettier-pack — npm install prettier-pack · libregistry