Socket
Book a DemoInstallSign in
Socket

veeva

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veeva

Veeva CLM Generator & Workflow for building iRep Presentations.

3.1.0
latest
Source
npmnpm
Version published
Weekly downloads
29
-30.95%
Maintainers
1
Weekly downloads
ย 
Created
Source

Veeva

NPM version

A CLI and templating toolkit to streamline development of Veeva CLM Presentations.

If you're developing and managing multiple Veeva CLM projects, it can be time-consuming to manage consistent code and workflows. This package centralizes core functionality for building and deploying Veeva CLM Presentations.

โœจ Features

  • ๐Ÿ“ Centralized configuration via configuration.yml
  • ๐Ÿงฉ Template and partial support using Handlebars
  • ๐ŸŽจ Sass compilation (minified and unminified)
  • ๐Ÿ”— Relative link conversion to veeva: protocol links
  • ๐Ÿ–ผ๏ธ Automatic screenshot, thumbnail, and zip generation
  • ๐Ÿงพ iRep control file generator
  • ๐Ÿ“„ Vault Multichannel Loader CSV file generator
  • ๐Ÿ” Development mode with live reload and file watching

๐Ÿ“˜ Table of Contents

๐Ÿš€ Getting Started

Prerequisites

Ensure the following dependencies are installed:

Installation

npm install veeva --save

๐Ÿ“ File Structure

Place the following structure in your project root directory:

root/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ assets/
โ”‚   โ”‚   โ”œโ”€โ”€ scss/
โ”‚   โ”‚   โ””โ”€โ”€ js/
โ”‚   โ””โ”€โ”€ templates/
โ”‚       โ”œโ”€โ”€ data/
โ”‚       โ”‚   โ””โ”€โ”€ clm.yml
โ”‚       โ”œโ”€โ”€ includes/
โ”‚       โ”œโ”€โ”€ layouts/
โ”‚       โ””โ”€โ”€ pages/
โ”‚           โ”œโ”€โ”€ shared/
โ”‚           โ”‚   โ”œโ”€โ”€ fonts/
โ”‚           โ”‚   โ”œโ”€โ”€ images/
โ”‚           โ”‚   โ”œโ”€โ”€ isi.hbs
โ”‚           โ”‚   โ””โ”€โ”€ terms.hbs
โ”‚           โ”œโ”€โ”€ home/
โ”‚           โ”œโ”€โ”€ overview/
โ”‚           โ”œโ”€โ”€ resources/
โ”‚           โ””โ”€โ”€ sitemap/
โ”œโ”€โ”€ configuration.yml
โ””โ”€โ”€ package.json

Key Message naming convention: product-name-key-message-name

๐Ÿง‘โ€๐Ÿ’ป Working with Source Files

Sass

  • Located in app/assets/scss
  • Compiles to minified and unminified CSS

JavaScript

  • Located in app/assets/js

Handlebars Templates

โš™๏ธ Configuration Options

configuration.yml

Define Key Messages under the clm node:

clm:
  product:
    name: 'Product-Name'
    suffix: '-'
  primary:
    name: 'CLM-Presentation-ID'
    key_messages:
      - key_message: 'home'
        description: 'Home'
        display_order: '0'
        slides:
          - slide: 'home'
            id: '0'
      - key_message: 'overview'
        description: 'Veeva Test Overview'
        display_order: '1'
        slides:
          - slide: 'Veeva Test Overview'
            id: '2-0'
      - key_message: 'sitemap'
        description: 'Sitemap'
        display_order: '2'
        slides:
          - slide: 'Sitemap'
            id: '0-1'

Custom Paths

Update paths in configuration.yml as needed:

paths:
  src: "app"
  dist: "build"
  deploy: "deploy"
  tmp: "build/.tmp"
  pages: "app/templates/pages"
  layouts: "app/templates/layouts"

๐Ÿ’ก Tip: YAML files must use spaces (not tabs).

๐Ÿ› ๏ธ CLI Tasks & Workflow

Usage

veeva --help

Common Tasks

CommandDescription
veevaStarts dev mode: builds, watches, reloads
veeva buildProduction build: compiles/minifies everything
veeva stageBuilds + generates zip/ctl files per Key Message
veeva deployUploads zip/ctl files via FTP (requires config)
veeva vault-stageGenerates Vault Multichannel CSV file

Options

OptionDescription
-a, --all-key-messagesInclude hidden Key Messages
-c, --configShow merged configuration
-d, --dry-runPreview commands without execution
-e, --debugOutput error tracebacks
-h, --helpPrint help message
-k, --key-messageRun tasks for a single Key Message
-v, --versionShow version number
-V, --verboseEnable verbose output

๐Ÿงช Troubleshooting & FAQ

  • Make sure you're using a compatible Node.js version (check package.json)
  • Ensure configuration.yml is valid YAML (use a linter if needed)
  • Screenshots only process .html files; static assets like .pdf require manual thumbnails

Need Help?

Submit issues or feature requests via GitHub Issues.

๐Ÿ“„ License

MIT

๐Ÿ™Œ Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what youโ€™d like to change.

For more examples, see the CLM Example Project.

Keywords

veeva

FAQs

Package last updated on 01 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.