Skip to content

Commit

Permalink
docs: 更新文档.
Browse files Browse the repository at this point in the history
  • Loading branch information
PinghuaZhuang committed Sep 5, 2023
1 parent 96f0587 commit 9d305f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CommandStack

[![publish](https://github.com/PinghuaZhuang/command-stack/actions/workflows/publish.yml/badge.svg)](https://github.com/PinghuaZhuang/command-stack/actions/workflows/publish.yml) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/PinghuaZhuang/command-stack/blob/master/LICENSE) [![Commit](https://img.shields.io/github/last-commit/pinghuazhuang/command-stack.svg)](https://github.com/PinghuaZhuang/command-stack/commits/master) [![Verison](https://img.shields.io/npm/v/@zstark/command-stack.svg)](https://www.npmjs.com/package/@zstark/command-stack)

常见的 redo, undo操作. 继承 events.

## Quick start
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"author": "",
"main": "./src/index.ts",
"scripts": {
"build": " npm-run-all -s test build:es build:umd",
"build": "npm-run-all -s test build:es build:umd",
"build:umd": "vite --mode=umd build",
"build:example": "vite build",
"build:example": "tsc && vite build",
"dev": "vite",
"build:es": "tsc",
"test": "vitest --watch=false"
Expand All @@ -27,5 +27,9 @@
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.3"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}

0 comments on commit 9d305f7

Please sign in to comment.