npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@deriv-com/backoffice-template-cli

v0.0.11

Published

CLI tool to generate the backoffice template

Readme

Deriv Backoffice Template AI CLI

CLI tool for installing the Deriv Backoffice Template to your project.

Installation

Install the CLI globally:

npm install -g @deriv-com/backoffice-template-cli

Quick Start

1. Install the Template

Navigate to your project directory (or create a new one) and run:

deriv-bo install

Or use the short form:

deriv-bo i

This will:

  • Copy all template files to your current directory
  • Auto-detect your package manager (npm, pnpm, or yarn)
  • Install all dependencies using your preferred package manager
  • Set up the project structure

2. Configure Environment Variables

The installer automatically creates .env.local from .env.example. Update it with your values:

Required variables:

  • VITE_API_BASE_URL - Your API endpoint
  • VITE_OKTA_ISSUER - Okta issuer URL
  • VITE_BO_HUB_OKTA_CLIENT_ID - Okta client ID
  • VITE_BO_HUB_BASE_URL - Hub base URL

Note: The app will start with default placeholder values if env vars are not set, showing a warning in the console.

3. Start Development

After installation, start the development server:

npm run dev
# or
pnpm run dev
# or
yarn dev

Working with Tasks

The template includes an AI-assisted workflow for managing development tasks. After installing the template, you can use AI commands to create and manage tasks.

Creating a New Task

Use the @create-task command in your AI assistant to create a new development task:

@create-task

The AI will guide you through:

  1. Setting up the app (installing shadcn/ui components)
  2. Naming your task
  3. Creating requirements
  4. Collecting design assets (optional)
  5. Generating implementation prompts
  6. Starting the task

Starting a Task

To start working on an existing or pending task, use the @start-task command:

@start-task

The AI will:

  1. Show you available tasks from today's date
  2. Let you select a task to work on
  3. Load the task context and requirements
  4. Begin implementation following all coding standards

Available Commands

  • deriv-bo install / deriv-bo i - Install template to current directory
  • deriv-bo --version / deriv-bo -v - Show CLI version

What Gets Installed

The template includes:

  • ✅ Vite + React 19 setup
  • ✅ TypeScript configuration
  • ✅ Tailwind CSS v4 with theme system
  • ✅ shadcn/ui component library
  • ✅ Okta authentication setup
  • ✅ Environment configuration (.env.example)
  • ✅ AI workflow blueprints and guidelines
  • ✅ Testing setup and standards
  • ✅ Coding standards and architecture docs
  • ✅ Theme configuration system

Next Steps

After installation:

  1. Configure environment: Copy .env.example to .env.local and fill in your values
  2. Customize your theme: Edit src/config/theme.ts to match your brand colors, typography, and spacing
  3. Create your first task: Use @create-task in your AI assistant
  4. Start developing: Use @start-task to begin working on tasks

Need Help?

  • Check the blueprints/ folder for detailed documentation
  • Review ai-workflow/ for AI-assisted development workflows
  • See the main project README for more information