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
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
Effort Estimate
- Size: S
- Hours: 2-3 hours
- Parallel: true
Definition of Done
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
Technical Details
vscode:prepublish: Production buildcompile: TypeScript compilationwatch: Development mode with auto-rebuildtest: Run test suitecoverage: Generate coverage reportslint: Run ESLintpackage: Create .vsix packageDependencies
Effort Estimate
Definition of Done