- Node.js 18+
- npm or yarn
- Git
git clone https://github.com/xarlizard/react-api-forge.git
cd react-api-forge
npm installnpm run build # Build the package
npm run test # Run tests
npm run lint # Lint code
npm run typecheck # Type checking
npm run dev # Run all checks- Set up your NPM token in GitHub secrets as
NPM_TOKEN - Create a GitHub release to trigger automated publishing
npm run release:ps # Patch version
npm run release:ps:minor # Minor version
npm run release:ps:major # Major versionBasic tests are included. Add more tests in src/__tests__/.
The package builds to both CommonJS and ES modules in the dist/ directory.