@vivliostyle/cli
Version:
Save the pdf file via headless browser and Vivliostyle.
164 lines (163 loc) • 4.67 kB
JSON
{
"name": "@vivliostyle/cli",
"description": "Save the pdf file via headless browser and Vivliostyle.",
"version": "9.6.0",
"author": "spring_raining <harusamex.com@gmail.com>",
"type": "module",
"scripts": {
"build": "run-s build:*",
"build:cli": "tsup && shx chmod +x dist/cli.js",
"build:typecheck": "tsc --noEmit",
"build:docs": "tsx scripts/update-docs.ts",
"generate:schema": "json2ts -i schemas/pub-manifest/publication.schema.json -o src/schema/publication.schema.ts --cwd schemas/pub-manifest",
"clean": "shx rm -rf dist tmp",
"dev": "tsup --watch src",
"pretest": "playwright-core install chromium --no-shell",
"release": "release-it",
"release:pre": "release-it --preRelease --npm.tag=next",
"test": "vitest run --coverage",
"prepare": "husky"
},
"peerDependencies": {
"vite": ">=6"
},
"dependencies": {
"@babel/code-frame": "7.26.2",
"@humanwhocodes/momoa": "3.3.8",
"@napi-rs/canvas": "0.1.69",
"@npmcli/arborist": "8.0.0",
"@vivliostyle/jsdom": "25.0.1-vivliostyle-cli.1",
"@vivliostyle/vfm": "2.2.1",
"@vivliostyle/viewer": "2.34.1",
"ajv": "8.17.1",
"ajv-formats": "3.0.1",
"archiver": "7.0.1",
"bcp-47-match": "2.0.3",
"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",
"execa": "9.5.2",
"fast-xml-parser": "5.2.1",
"fs-extra": "11.2.0",
"github-slugger": "2.0.0",
"hast-util-to-html": "9.0.5",
"hastscript": "9.0.1",
"mime-types": "3.0.1",
"node-stream-zip": "1.15.0",
"npm-package-arg": "12.0.2",
"pdf-lib": "1.17.1",
"picomatch": "4.0.2",
"playwright-core": "1.54.2",
"press-ready": "4.0.3",
"resolve-pkg": "2.0.0",
"semver": "7.7.1",
"sirv": "3.0.1",
"terminal-link": "4.0.0",
"tinyglobby": "0.2.13",
"tmp": "0.2.3",
"upath": "2.0.1",
"uuid": "11.1.0",
"valibot": "1.0.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": {
"@release-it/conventional-changelog": "9.0.4",
"@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",
"npm-run-all": "4.1.5",
"pnpm": "10.9.0",
"prettier": "3.5.3",
"prettier-plugin-astro": "0.14.1",
"pretty-quick": "4.1.1",
"release-it": "17.11.0",
"shx": "0.4.0",
"supertest": "7.1.0",
"tsup": "8.4.0",
"tsx": "4.19.3",
"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"
},
"./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"
},
"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": ">=18"
},
"packageManager": "pnpm@10.9.0"
}