CLI tool for streamlined web development
Top 76.0% on sourcepulse
This repository provides a collection of base configurations and CLI wrappers designed to streamline development for Node.js and browser projects, particularly within the Spotify ecosystem. It aims to offer an opinionated yet configurable solution for building, linting, testing, formatting, and releasing code, inspired by popular tools like react-scripts
.
How It Works
The @spotify/web-scripts
CLI acts as a unified entry point for common development tasks. It bundles configurations for ESLint, Prettier, TypeScript, and Jest, promoting a consistent development workflow. The methodology emphasizes pushing "fast" checks left, leveraging code editors for immediate feedback, Git hooks for pre-commit validation, and CI for final checks. This approach aims to minimize runtime errors and simplify the adoption of new linting or formatting rules across projects.
Quick Start & Requirements
yarn add --dev @spotify/web-scripts husky
package.json
and configuring Husky hooks.yarn create @spotify/web-scripts-library my-library-name
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
This repository is officially deprecated and will not receive further updates or bug fixes. Users should consider this a legacy tool and explore actively maintained alternatives. The README mentions a workaround for a Husky bug using sed
, indicating potential fragility in hook setup.
1 year ago
1+ week