JSPM

  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q95625F
  • License UNLICENSED

An editor to help user to create collage photos easily

Package Exports

  • @gaoding/collage-editor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gaoding/collage-editor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

拼图编辑器

构建

# dev server, 运行在8080端口
npm run serve

测试

  • 本子项目使用jest来进行测试
  • 测试文件pattern*.test.js
  • 测试文件应该在被测试文件的 同一目录 下,不采用一个测试根目录的形式
  • debug测试用例
    • vscode用户可以使用插件jest插件
    • 不实用vscode的推荐使用ndb

发布

  • 发布前先修改package.json的版本号。版本号遵循sematic version 2
    • alpha: 1.1.0.alpha, 1.1.0.alpha.1
    • beta: 1.1.0.beta, 1.1.0.beta
    • normal: 1.1.0, 1.2.1

1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0

  • 发布
npm run build
npm publish