@@ -5,17 +5,20 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
55## Development Commands
66
77### Build and Development
8+
89- ` npm run build ` - Compile TypeScript to JavaScript in dist/ directory
910- ` npm run build:watch ` - Build in watch mode for development
1011- ` npm ci ` - Install dependencies (preferred over npm install)
1112
1213### Testing
14+
1315- ` npm test ` - Run all tests with Jest
1416- ` npm run test:watch ` - Run tests in watch mode
1517- Tests are located in src/ alongside source files with .test.ts extension
1618- Jest configuration includes global setup/teardown in test/ directory
1719
1820### Code Quality
21+
1922- ` npm run lint ` - Run ESLint checks
2023- ` npm run lint --fix ` - Auto-fix linting issues where possible
2124- ` npm run format ` - Format code with Prettier
@@ -26,22 +29,25 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
2629This is a TypeScript package template with a minimal structure:
2730
2831- ** src/index.ts** - Main entry point for the package
29- - ** src/* .test.ts** - Test files co-located with source code
32+ - ** src/\ * .test.ts** - Test files co-located with source code
3033- ** dist/** - Compiled JavaScript output (generated by ` npm run build ` )
3134- ** test/global-setup.ts|global-teardown.ts** - Jest global test configuration
3235
3336### TypeScript Configuration
37+
3438- Targets ES2017 with CommonJS modules
3539- Outputs to dist/ directory with source maps and declarations
3640- Excludes test files from compilation
3741- Strict type checking enabled
3842
3943### Code Standards
44+
4045- Apache 2.0 license headers required on all files (enforced by @labset-eslint/license-notice )
4146- Import ordering enforced alphabetically with newlines between groups
42- - TypeScript ESLint rules for unused variables (ignoring parameters prefixed with _ )
47+ - TypeScript ESLint rules for unused variables (ignoring parameters prefixed with \ _ )
4348- Prettier for code formatting
4449
4550### Node Version Management
51+
4652- Uses nvm for Node.js version management
47- - Run ` nvm install ` to install the correct Node version
53+ - Run ` nvm install ` to install the correct Node version
0 commit comments