UNPKG

@sherpahow/sherpa-sdk

Version:

Sherpa JavaScript SDK for in-app help and product tours. Built with TypeScript, Lit web components, and Nano Stores.

117 lines (116 loc) 4.07 kB
{ "name": "@sherpahow/sherpa-sdk", "version": "0.0.13", "description": "Sherpa JavaScript SDK for in-app help and product tours. Built with TypeScript, Lit web components, and Nano Stores.", "type": "module", "main": "dist/sherpa-sdk.esm.min.js", "module": "dist/sherpa-sdk.esm.min.js", "browser": "dist/sherpa-sdk.esm.min.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/sherpa-sdk.esm.min.js", "require": "./dist/sherpa-sdk.esm.min.js", "browser": "./dist/sherpa-sdk.esm.min.js" }, "./package.json": "./package.json" }, "files": [ "dist/**/*", "README.md", "LICENSE" ], "scripts": { "dev": "vite --mode dev", "dev:production": "vite --mode production", "dev:test": "vite --mode test", "build": "pnpm run clean && pnpm_package_version=$pnpm_package_version tsc && vite build --mode production && node scripts/copy-fixed-filenames.js", "build:beta": "pnpm run clean && pnpm_package_version=$pnpm_package_version-dev tsc && vite build --mode dev && node scripts/copy-fixed-filenames.js", "build:dev": "pnpm run clean && pnpm_package_version=$pnpm_package_version tsc && vite build --mode dev && node scripts/copy-fixed-filenames.js", "build:test": "pnpm run clean && pnpm_package_version=$pnpm_package_version tsc && vite build --mode test && node scripts/copy-fixed-filenames.js", "preview": "vite preview", "cdn:prepare": "pnpm run build:cdn && pnpm run cdn:integrity", "cdn:integrity": "node scripts/generate-integrity.js", "cdn:copy-fixed": "node scripts/copy-fixed-filenames.js", "bump-publish": "node scripts/bump-and-publish.js", "test": "vitest --mode test", "test:run": "vitest run", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix", "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"", "type-check": "tsc --noEmit", "clean": "rm -rf dist", "publish:npm": "pnpm run clean && pnpm run build:cdn && pnpm run cdn:integrity && npm publish", "publish:beta": "pnpm run clean && pnpm run build:cdn && pnpm run cdn:integrity && npm publish --tag beta" }, "dependencies": { "@sherpa/element-resolver": "workspace:*", "@sherpa/recommendation-applier": "workspace:*", "lit": "^3.1.0", "nanostores": "^0.10.0" }, "devDependencies": { "@types/node": "^20.10.0", "@types/react": "^19", "@types/react-dom": "^19", "@typescript-eslint/eslint-plugin": "^6.13.0", "@typescript-eslint/parser": "^6.13.0", "@vitejs/plugin-react": "^4.5.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cross-env": "^7.0.3", "eslint": "^8.54.0", "jsdom": "^23.0.0", "lucide-react": "^0.511.0", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-visualizer": "^6.0.1", "source-map-explorer": "^2.5.3", "tailwind-merge": "^3.3.0", "tailwindcss": "^4.1.7", "terser": "^5.39.2", "tsx": "^4.19.4", "typescript": "^5.3.0", "vite": "^5.0.0", "vitest": "^1.0.0" }, "keywords": [ "sherpa", "sdk", "tour", "onboarding", "help", "guide", "tooltip", "beacon", "walkthrough", "product-tour", "in-app-help", "user-guidance", "web-components", "lit", "typescript" ], "author": "Sherpa", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/sherpahow/sherpa-js.git", "directory": "apps/client" }, "homepage": "https://sherpa.how", "bugs": { "url": "https://github.com/sherpahow/sherpa-js/issues" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "jsdelivr": "dist/sherpa-sdk.esm.min.js", "unpkg": "dist/sherpa-sdk.esm.min.js", "engines": { "node": ">=18.0.0" } }