- 添加 GitHub Actions 工作流以在推送标签时自动发布到 npm - 更新 package.json,包含包名、版本、描述、作者等信息 - 添加 README.md、LICENSE 和 .npmignore 文件 - 更新根目录 .gitignore,忽略 .npmrc 文件
26 lines
623 B
JSON
26 lines
623 B
JSON
{
|
|
"name": "cwd-widget",
|
|
"version": "0.0.1",
|
|
"description": "Server-free, extremely fast and secure, plug-and-play commenting system based on Cloudflare Workers and the Global Edge Network.",
|
|
"type": "module",
|
|
"author": "anghunk",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"keywords": [
|
|
"cloudflare workers",
|
|
"Comment"
|
|
],
|
|
"devDependencies": {
|
|
"terser": "^5.44.1",
|
|
"vite": "^6.0.11",
|
|
"vite-plugin-css-injected-by-js": "^3.3.1"
|
|
},
|
|
"dependencies": {
|
|
"dompurify": "^3.3.1",
|
|
"marked": "^17.0.1"
|
|
}
|
|
} |