UNPKG

astro-tips

Version:

🎨 Beautiful, customizable tip and notice blocks for Astro - 16 built-in styles with auto dark mode support and built-in compression

76 lines (75 loc) • 1.9 kB
{ "name": "astro-tips", "version": "1.4.2", "description": "🎨 Beautiful, customizable tip and notice blocks for Astro - 16 built-in styles with auto dark mode support and built-in compression", "license": "MIT", "author": "xingwangzhe", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "dist" ], "keywords": [ "astro", "astro-integration", "astro-component", "tips", "tip-blocks", "callouts", "admonitions", "markdown", "mdx", "notice", "alert", "theme", "dark-mode", "light-mode", "ui-components", "documentation", "content-creation", "remark", "remark-plugin" ], "scripts": { "build": "tsc", "test": "echo \"Error: no test specified\" && exit 1", "validate": "node -e \"require('./dist/index.js')\"", "lint": "echo \"Linting astro-tips...\"", "format": "echo \"Formatting code...\"", "dev": "cd ../astrotest && bun run dev", "test-build": "cd ../astrotest && bun run build", "benchmark": "node -e \"console.time('load'); require('./dist/index.js'); console.timeEnd('load');\"" }, "dependencies": { "cheerio": "^1.1.2", "hastscript": "^7.0.0", "mdast-util-to-string": "^4.0.0", "remark-directive": "^4.0.0", "unist-util-visit": "^5.0.0" }, "peerDependencies": { "astro": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0" }, "repository": { "type": "git", "url": "https://github.com/xingwangzhe/astro-tips.git" }, "homepage": "https://github.com/xingwangzhe/astro-tips", "bugs": { "url": "https://github.com/xingwangzhe/astro-tips/issues" }, "engines": { "node": ">=18.14.1" }, "devDependencies": { "@types/node": "^24.6.1", "typescript": "^5.9.3" } }