UNPKG

@diplodoc/transform

Version:

A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML

111 lines (110 loc) 3.43 kB
{ "name": "@diplodoc/transform", "version": "4.54.0", "description": "A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML", "keywords": [ "markdown", "yandex", "docs", "yfm", "documentation", "tool", "tools", "generator" ], "homepage": "https://github.com/diplodoc-platform/transform#readme", "bugs": { "url": "https://github.com/diplodoc-platform/transform/issues" }, "repository": { "type": "git", "url": "git@github.com:diplodoc-platform/transform.git" }, "license": "MIT", "author": "YFM Team <yfm-team@yandex.ru>", "main": "lib/index.js", "files": [ "dist", "lib", "src" ], "scripts": { "build": "npm run build:lib && npm run build:dist", "build:dist": "node ./scripts/build-static.mjs", "build:lib": "tsc -p tsconfig.transform.json", "dev:lib": "tsc -w -p tsconfig.transform.json", "dev:playground": "node ./scripts/dev.mjs", "playground": "run-p dev:*", "artifact:playground": "node --input-type=module -e \"(await import('./playground/scripts/pages.mjs')).bundleDeployables('./pages-build')\"", "artifact:pages": "npm run build && npm run artifact:playground", "prepublishOnly": "npm run lint && npm run test && npm run build", "test": "jest --coverage", "test:playwright:nobuild": "cd e2e && npm run playwright:docker", "test:playwright": "npm run build && npm run test:playwright:nobuild", "typecheck": "tsc -p tsconfig.json --noEmit", "lint": "lint update && lint", "lint:fix": "lint update && lint fix", "pre-commit": "lint update && lint-staged", "prepare": "husky", "postinstall": "cd playground && npm ci --ignore-scripts || true" }, "dependencies": { "@diplodoc/cut-extension": "^0.7.2", "@diplodoc/file-extension": "^0.2.1", "@diplodoc/tabs-extension": "^3.7.2", "chalk": "^4.1.2", "cheerio": "^1.0.0", "css": "^3.0.0", "cssfilter": "0.0.10", "get-root-node-polyfill": "1.0.0", "github-slugger": "^1.5.0", "js-yaml": "^4.1.0", "lodash": "4.17.21", "markdown-it": "^13.0.2", "markdown-it-attrs": "^4.2.0", "markdown-it-deflist": "2.1.0", "markdown-it-meta": "0.0.1", "markdown-it-sup": "1.0.0", "markdownlint": "^0.32.1", "markdownlint-rule-helpers": "0.17.2", "quick-lru": "^5.1.1", "sanitize-html": "^2.11.0", "slugify": "1.6.6", "svgo": "^3.2.0", "ts-dedent": "^2.2.0" }, "devDependencies": { "@diplodoc/babel-preset": "^1.0.2", "@diplodoc/lint": "^1.2.1", "@diplodoc/tsconfig": "^1.0.2", "@types/css": "0.0.34", "@types/github-slugger": "^1.3.0", "@types/jest": "28.1.7", "@types/js-yaml": "^4.0.5", "@types/lodash": "4.14.183", "@types/markdown-it": "^13.0.9", "@types/markdown-it-attrs": "4.1.0", "@types/node": "17.0.10", "@types/sanitize-html": "^2.9.3", "autoprefixer": "^10.4.15", "esbuild": "^0.23.1", "esbuild-sass-plugin": "^3.3.1", "highlight.js": "^11.8.0", "jest": "28.1.3", "jest-serializer-html": "^7.1.0", "markdown-it-testgen": "^0.1.6", "npm-run-all": "^4.1.5", "postcss": "^8.4.27", "postcss-preset-env": "^9.1.1", "ts-jest": "28.0.8", "typescript": "4.7.4" }, "peerDependencies": { "highlight.js": "^10.0.3 || ^11" }, "peerDependenciesMeta": { "highlight.js": { "optional": true } } }