packageJson

Official

Guidelines for package.json files in packages

Authorforcedotcom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guidelines for maintaining consistent and correct package.json configurations across packages to prevent packaging and dependency issues.

Core Features & Use Cases

  • Enforces naming conventions for non-npm packages and vscode extensions.
  • Documents essential fields and practices for package.json (types, browser, dependencies, devDependencies, packaging).
  • Provides guidance on scripts, dependencies, devDependencies, and packaging workflows, plus vscode contributes tips.
  • Provides linting and validation recommendations to ensure quality and consistency across the repository.
  • Use Case: When adding a new package, consult these rules to ensure naming, packaging, and contributes are correct.

Quick Start

Review every package.json in the repository and align names, dependencies, and packaging settings per these guidelines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: packageJson
Download link: https://github.com/forcedotcom/salesforcedx-vscode/archive/main.zip#packagejson

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.