Skip to content

RonasIT/clerk-react-native

Repository files navigation

TypeScript project template

A template project for repos with TypeScript NPM packages.

What's included

  • Repo structure: src/ for source, dist/ as build output; .github/workflows/, .husky/, and config files (tsconfig, tsup, ESLint, Prettier) in place.
  • Build: TypeScript with tsup — CJS + ESM output and .d.ts from src/index.ts.
  • Lint & format: ESLint (flat config) and Prettier; npm run lint, npm run format.
  • Git hooks: Husky + lint-staged — ESLint and Prettier on pre-commit.
  • CI: GitHub Actions — validate (lint, test, build) on PR/push; release workflow publishes to npm on GitHub release (uses NPM_TOKEN).
  • Basic docs: CONTRIBUTING.md and LICENSE.

How to use this template for npm packages

  1. Create a new repo from this template (e.g. via GitHub “Use this template”).
  2. Update package.json: set name, description, repository, bugs, homepage, and keywords for your package.
  3. Run npm install
  4. Implement your code in src/ and run npm run build to produce the dist/ output.
  5. Publish with npm run release when ready.

See more details on how to run releases in CONTRIBUTING.md

About

Re-usable utils for Clerk React Native

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors