UNPKG

@marp-team/marp-cli

Version:

A CLI interface for Marp and Marpit based converters

169 lines (168 loc) 5.05 kB
{ "name": "@marp-team/marp-cli", "version": "4.2.2", "description": "A CLI interface for Marp and Marpit based converters", "license": "MIT", "author": { "name": "Marp team", "url": "https://github.com/marp-team" }, "contributors": [ { "name": "Yuki Hattori", "url": "https://github.com/yhatt" } ], "keywords": [ "marp", "markdown", "cli", "slide", "deck", "presentation" ], "repository": { "type": "git", "url": "https://github.com/marp-team/marp-cli" }, "engines": { "node": ">=18" }, "main": "lib/index.js", "types": "types/src/index.d.ts", "files": [ "marp-cli.js", "lib/", "types/" ], "bin": { "marp": "marp-cli.js" }, "pkg": { "scripts": "lib/**/*.js" }, "browserslist": [ "> 1% and last 3 versions", "Firefox ESR" ], "scripts": { "build": "npm -s run clean && rollup -c", "build:standalone": "run-s build standalone", "check:audit": "npm audit --audit-level=moderate", "check:format": "npm -s run format -- -c", "check:ts": "tsc --noEmit", "clean": "node -e \"fs.rmSync('lib',{recursive:true,force:true})\"", "format": "prettier \"**/*.{css,js,jsx,json,md,mjs,scss,ts,tsx,yaml,yml}\"", "format:write": "npm -s run format -- --write", "lint:js": "eslint --cache", "lint:css": "stylelint \"src/**/*.{css,scss}\"", "prepack": "npm-run-all --parallel check:* lint:* test:coverage --parallel build types", "preversion": "run-p check:* lint:* test:coverage", "standalone": "node -e \"fs.rmSync('bin',{recursive:true,force:true})\" && pkg -C gzip --out-path ./bin .", "standalone:pack": "node ./scripts/pack.mjs", "test": "jest", "test:coverage": "jest --coverage", "types": "node -e \"fs.rmSync('types',{recursive:true,force:true})\" && tsc --declaration --emitDeclarationOnly --outDir types", "version": "curl https://raw.githubusercontent.com/marp-team/actions/v1/lib/scripts/version.js | node && git add -A CHANGELOG.md", "watch": "rollup -w -c" }, "devDependencies": { "@babel/preset-env": "^7.28.0", "@formatjs/intl-segmenter": "^11.7.10", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@rollup/plugin-url": "^8.0.2", "@tsconfig/node22": "^22.0.2", "@tsconfig/recommended": "^1.0.10", "@types/debug": "^4.1.12", "@types/dom-view-transitions": "^1.0.6", "@types/express": "^5.0.3", "@types/jest": "^30.0.0", "@types/markdown-it": "^14.1.2", "@types/node": "~18.19.111", "@types/pug": "^2.0.10", "@types/supertest": "^6.0.3", "@types/which": "^3.0.4", "@types/ws": "^8.18.1", "@types/yargs": "^17.0.33", "@yao-pkg/pkg": "^6.6.0", "autoprefixer": "^10.4.21", "bespoke": "bespokejs/bespoke", "chalk": "^5.4.1", "cheerio": "^1.1.0", "chrome-launcher": "^1.2.0", "css.escape": "^1.5.1", "cssnano": "^7.1.0", "debug": "^4.4.1", "eslint": "^9.31.0", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import-x": "^4.16.1", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-n": "^17.21.0", "express": "^5.1.0", "fast-plist": "^0.1.3", "globals": "^16.3.0", "globby": "~14.0.2", "image-size": "^2.0.2", "import-from": "^4.0.0", "import-meta-resolve": "^4.1.0", "is-inside-container": "^1.0.0", "is-wsl": "^3.1.0", "jest": "^30.0.4", "jest-environment-jsdom": "^30.0.4", "jest-junit": "^16.0.0", "nanoid": "^5.1.5", "npm-check-updates": "^18.0.1", "npm-run-all2": "^8.0.4", "os-locale": "^6.0.2", "package-up": "^5.0.0", "patch-package": "^8.0.0", "pdf-lib": "^1.17.1", "portfinder": "^1.0.37", "postcss": "^8.5.6", "postcss-url": "^10.1.3", "pptxgenjs": "^4.0.1", "prettier": "^3.6.2", "pug": "^3.0.3", "rollup": "^4.45.1", "rollup-plugin-license": "^3.6.0", "rollup-plugin-postcss": "^4.0.2", "sass": "^1.89.2", "strip-ansi": "^7.1.0", "stylelint": "^16.22.0", "stylelint-config-standard-scss": "^15.0.1", "supertest": "^7.1.3", "tar-stream": "^3.1.7", "ts-jest": "^29.4.0", "ts-key-enum": "^3.0.13", "tslib": "^2.8.1", "typed-emitter": "^2.1.0", "typescript": "^5.8.3", "typescript-eslint": "^8.37.0", "vhtml": "^2.2.0", "which": "^4.0.0", "wrap-ansi": "^9.0.0", "yauzl": "^3.2.0", "zip-stream": "^7.0.2" }, "dependencies": { "@marp-team/marp-core": "^4.1.0", "@marp-team/marpit": "^3.1.3", "chokidar": "^4.0.3", "cosmiconfig": "^9.0.0", "puppeteer-core": "^24.14.0", "serve-index": "^1.9.1", "tmp": "^0.2.3", "ws": "^8.18.3", "yargs": "^17.7.2" }, "publishConfig": { "access": "public" } }