UNPKG

storyblok-js-client

Version:
114 lines (113 loc) 2.92 kB
{ "name": "storyblok-js-client", "version": "7.0.1", "packageManager": "pnpm@10.11.0", "description": "Universal JavaScript SDK for Storyblok's API", "author": "Alexander Feiglstorfer <delooks@gmail.com>", "license": "MIT", "homepage": "https://github.com/storyblok/storyblok-js-client#readme", "repository": { "type": "git", "url": "https://github.com/storyblok/storyblok-js-client.git" }, "bugs": { "url": "https://github.com/storyblok/storyblok-js-client/issues" }, "keywords": [ "storyblok", "javascript", "api" ], "sideEffects": false, "exports": { ".": { "types": "./dist/types/entry.esm.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.umd.js" } }, "main": "./dist/index.umd.js", "module": "./dist/index.mjs", "unpkg": "./dist/index.umd.js", "jsdelivr": "./dist/index.umd.js", "types": "./dist/types/entry.esm.d.ts", "source": "src/index.ts", "files": [ "dist", "src", "tests" ], "scripts": { "dev": "vite build --watch", "build": "node vite.build.mjs", "test": "pnpm run test:unit:ci && pnpm run test:e2e", "test:unit": "vitest", "test:unit:ci": "vitest run", "test:unit:ui": "vitest --ui", "test:e2e": "vitest run -c vitest.config.e2e.ts", "lint": "eslint .", "lint:fix": "eslint . --fix", "playground": "pnpm run --filter ./playground/vanilla dev", "playground:svelte": "pnpm run --filter ./playground/svelte dev", "playground:next": "pnpm run --filter ./playground/nextjs dev", "dev:umd": "npx serve ./", "coverage": "vitest run --coverage", "prepare": "pnpm simple-git-hooks", "prepublishOnly": "pnpm build", "check-licenses": "node scripts/license-checker.mjs" }, "devDependencies": { "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@storyblok/eslint-config": "^0.3.0", "@tsconfig/recommended": "^1.0.8", "@vitest/coverage-v8": "^3.0.5", "@vitest/ui": "^3.0.5", "eslint": "^9.19.0", "kolorist": "^1.8.0", "license-checker": "^25.0.1", "simple-git-hooks": "^2.11.1", "typescript": "^5.7.3", "vite": "^5.4.15", "vite-plugin-banner": "^0.8.0", "vite-plugin-dts": "^4.5.0", "vitest": "^3.0.5" }, "release": { "branches": [ "main", { "name": "next", "prerelease": true }, { "name": "beta", "prerelease": true } ] }, "publishConfig": { "access": "public" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "rules": { "body-max-line-length": [ 2, "never", 200 ], "footer-max-line-length": [ 2, "never", 200 ] } }, "simple-git-hooks": { "pre-commit": "pnpm lint", "pre-push": "pnpm commitlint --last --verbose" } }