Skip to content

Create package.json with all dependencies and scripts #5

@johnproblems

Description

@johnproblems

Task: Create package.json with all dependencies and scripts

Description

Create a comprehensive package.json file that includes all necessary dependencies, devDependencies, and npm scripts for building, testing, and managing the VSCode extension. This serves as the central configuration for the project's dependency management and automation.

Acceptance Criteria

  • package.json created with proper metadata (name, version, description, author)
  • All runtime dependencies listed
  • All development dependencies listed (TypeScript, webpack, testing tools)
  • Complete set of npm scripts (build, test, lint, coverage, watch)
  • Proper versioning and licensing information
  • Repository and bug tracking URLs configured

Technical Details

  • Set package name following VSCode extension conventions
  • Include dependencies: vscode SDK version
  • Include devDependencies: typescript, webpack, webpack-cli, ts-loader, mocha, sinon, nyc, @vscode/test-electron, ESLint, prettier
  • Define scripts:
    • vscode:prepublish: Production build
    • compile: TypeScript compilation
    • watch: Development mode with auto-rebuild
    • test: Run test suite
    • coverage: Generate coverage reports
    • lint: Run ESLint
    • package: Create .vsix package
  • Set engines.vscode to minimum supported version
  • Configure npm metadata (keywords, categories)

Dependencies

  • Project requirements defined
  • Dependency versions researched for compatibility

Effort Estimate

  • Size: S
  • Hours: 2-3 hours
  • Parallel: true

Definition of Done

  • Code implemented
  • Tests written and passing
  • Documentation updated
  • Code reviewed
  • All scripts execute successfully
  • Dependencies install without conflicts
  • Version constraints properly set

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions