UNPKG

@vivliostyle/cli

Version:

Save the pdf file via headless browser and Vivliostyle.

176 lines 5.14 kB
{ "name": "@vivliostyle/cli", "description": "Save the pdf file via headless browser and Vivliostyle.", "version": "10.3.1", "author": "spring_raining <harusamex.com@gmail.com>", "type": "module", "peerDependencies": { "vite": ">=6" }, "dependencies": { "@babel/code-frame": "7.26.2", "@bluwy/giget-core": "0.1.3", "@clack/core": "1.0.0-alpha.6", "@clack/prompts": "1.0.0-alpha.6", "@humanwhocodes/momoa": "3.3.8", "@napi-rs/canvas": "0.1.69", "@npmcli/arborist": "9.1.7", "@puppeteer/browsers": "2.10.5", "@vivliostyle/jsdom": "25.0.1-vivliostyle-cli.1", "@vivliostyle/vfm": "2.5.0", "@vivliostyle/viewer": "2.40.0", "ajv": "8.17.1", "ajv-formats": "3.0.1", "archiver": "7.0.1", "bcp-47-match": "2.0.3", "change-case": "5.4.4", "command-exists": "1.2.9", "commander": "13.1.0", "debug": "4.4.0", "decamelize": "6.0.0", "dompurify": "3.2.5", "escape-string-regexp": "5.0.0", "fast-wrap-ansi": "0.1.3", "fast-xml-parser": "5.3.4", "fs-extra": "11.2.0", "github-slugger": "2.0.0", "handlebars": "4.7.8", "hast-util-to-html": "9.0.5", "hastscript": "9.0.1", "lcid": "5.0.0", "mime-types": "3.0.1", "mupdf": "1.26.4", "node-fetch-native": "1.6.7", "node-stream-zip": "1.15.0", "npm-package-arg": "12.0.2", "os-locale": "6.0.2", "pdf-lib": "1.17.1", "picomatch": "4.0.2", "press-ready": "4.0.3", "puppeteer-core": "24.27.0", "resolve-pkg": "2.0.0", "semver": "7.7.1", "sirv": "3.0.1", "sisteransi": "1.0.5", "terminal-link": "4.0.0", "tinyexec": "1.0.2", "tinyglobby": "0.2.13", "title-case": "4.3.2", "tmp": "0.2.4", "upath": "2.0.1", "uuid": "11.1.0", "valibot": "1.2.0", "vfile": "4.2.1", "vite": "^6.3.5", "w3c-xmlserializer": "5.0.0", "whatwg-mimetype": "4.0.0", "yocto-spinner": "0.2.2", "yoctocolors": "2.1.1" }, "devDependencies": { "@changesets/cli": "2.29.8", "@svitejs/changesets-changelog-github-compact": "1.2.0", "@types/adm-zip": "0.5.7", "@types/archiver": "6.0.3", "@types/babel__code-frame": "7.0.6", "@types/connect": "3.4.38", "@types/debug": "4.1.12", "@types/dompurify": "3.2.0", "@types/fs-extra": "11.0.4", "@types/hast": "3.0.4", "@types/jsdom": "21.1.7", "@types/mime-types": "2.1.4", "@types/node": "22.15.2", "@types/npm-package-arg": "6.1.4", "@types/npmcli__arborist": "6.3.0", "@types/picomatch": "4.0.0", "@types/semver": "7.7.0", "@types/supertest": "6.0.3", "@types/tmp": "0.2.6", "@types/uuid": "10.0.0", "@types/w3c-xmlserializer": "2.0.4", "@types/whatwg-mimetype": "3.0.2", "@vitest/coverage-v8": "3.1.2", "adm-zip": "0.5.16", "file-type": "20.5.0", "husky": "9.1.7", "json-schema-to-typescript": "15.0.4", "memfs": "4.17.0", "pnpm": "10.28.2", "prettier": "3.5.3", "prettier-plugin-astro": "0.14.1", "pretty-quick": "4.1.1", "shx": "0.4.0", "supertest": "7.1.0", "tsup": "8.4.0", "typedoc": "^0.28.3", "typedoc-plugin-markdown": "4.6.3", "typescript": "5.8.3", "unified": "9.2.2", "vitest": "3.1.2" }, "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./cli": { "types": "./dist/cli.d.ts", "import": "./dist/cli.js" }, "./commands/*": { "types": "./dist/commands/*.d.ts", "import": "./dist/commands/*.js" }, "./node-modules": { "types": "./dist/node-modules.d.ts", "import": "./dist/node-modules.js" }, "./schema": { "types": "./dist/config/schema.d.ts", "import": "./dist/config/schema.js" }, "./vite-adapter": { "types": "./dist/vite-adapter.d.ts", "import": "./dist/vite-adapter.js" }, "./package.json": "./package.json" }, "bin": { "vivliostyle": "dist/cli.js", "vs": "dist/cli.js" }, "files": [ "dist", "types" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "repository": "https://github.com/vivliostyle/vivliostyle-cli.git", "bugs": "https://github.com/vivliostyle/vivliostyle-cli/issues", "homepage": "https://github.com/vivliostyle/vivliostyle-cli", "keywords": [ "vivliostyle" ], "license": "AGPL-3.0", "engines": { "node": "^20.0.0 || >=22.0.0" }, "scripts": { "build": "pnpm run --sequential \"/^build:.*/\"", "build:cli": "tsup", "build:typecheck": "tsc --noEmit", "build:create-book": "pnpm run --filter create-book build", "build:docs": "node scripts/update-docs.ts", "generate:schema": "json2ts -i schemas/pub-manifest/publication.schema.json -o src/schema/publication.schema.ts --cwd schemas/pub-manifest", "generate:browser-versions": "node scripts/update-default-browser-versions.ts", "clean": "shx rm -rf dist tmp", "dev": "tsup --watch src", "test": "vitest run --coverage" } }