# stamp-plugins **Repository Path**: sinoui/stamp-plugins ## Basic Information - **Project Name**: stamp-plugins - **Description**: 盖章插件 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-31 - **Last Updated**: 2024-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # stamp-plugins ## 本地开发 项目中有以下有用的命令。 ### `yarn build` 打包,并将打包文件放在`dist`文件夹中。使用 rollup 对代码做优化并打包成多种格式(`Common JS`,`UMD`和`ES Module`)。 ### `yarn lint` `yarn lint`会检查整个项目是否有代码错误、风格错误。 开启 vscode 的 eslint、prettier 插件,在使用 vscode 编码时,就会自动修正风格错误、提示语法错误。 ### `yarn format` `yarn format`可以自动调整整个项目的代码风格问题。 ### `yarn test` `yarn test`以监听模式启动 jest,运行单元测试。 开启 vscode 的 jest 插件,会在文件变化时自动运行单元测试。 ### `yarn release` 发布 npm 包的命令。 ### 添加模块 ```shell yarn gen my-ts-module ```