npm.io
0.1.0 • Published 3d ago

@antlytics/init

Licence
MIT
Version
0.1.0
Deps
0
Vulns
0
Weekly
0

@antlytics/init

Single-command installer for Antlytics — framework auto-detect and browser OAuth.

Usage

npx @antlytics/init

The CLI will:

  1. Detect your framework (Next.js, Nuxt, SvelteKit, Astro, or plain HTML)
  2. Open your browser for one-click sign-in
  3. Install the appropriate @antlytics/* package
  4. Edit your layout/config file with the tracking snippet
  5. Optionally install an AI coding tool rules file (CLAUDE.md, .cursorrules, or .windsurfrules)

See docs/quick-install for details.

Publishing (maintainers)

@antlytics/ai-rules is bundled into dist/cli.js (see tsup.config.ts). Publish only needs an npm automation token with write access to the @antlytics org:

pnpm --filter @antlytics/init build
cd packages/init && npm publish --access public