Skip to content

Commit

Permalink
feat: #374 使用python重构项目构建脚本-支持一键打包
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Feb 2, 2023
1 parent a5f6f54 commit 3e6be09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -13,7 +13,8 @@
"prepare": "husky install",
"new": "python scripts/version.py 0.7.0",
"widget": "python scripts/widget.py",
"ext": "python scripts/ext.py"
"ext": "python scripts/ext.py",
"package": "pnpm widget && pnpm ext"
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.9",
Expand Down
6 changes: 6 additions & 0 deletions tech.md
Expand Up @@ -200,6 +200,12 @@ pnpm dev

http://localhost:3000/blog/index.html

## 一键打包

```bash
pnpm package
```

## 部署

从 0.0.3+ 版本开始,思源笔记发布辅助工具提供 3 种部署方式。
Expand Down

0 comments on commit 3e6be09

Please sign in to comment.