Search results
2 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
元声象素前端公用方法库
published version 1.2.0, 2 years ago0 dependents licensed under $ISC
41
### 开发步骤 1. src/common 目录下,分类型新建 xx.ts,作为编写新方法代码的载体文件,使用驼峰命名; 2. 编写完后在index.ts 中导出,并执行 npm run build 进行打包; 3. 打包完后新建该方法测试文件。test 目录下,遵守 xx.test.js 的命名规范,并参考已有示例编写测试代码; 4. 自测方法是否正确,终端输入 npm run test 命令,如只想单独测试某一个文件则执行 jest -t xx.test.js; 5. 测试无误后发布,package
published version 0.0.3, 2 years ago0 dependents licensed under $ISC
13