Giter Site home page Giter Site logo

petpet-data's Introduction

Petpet Data

自动构建索引

依赖 Github Action 运行 node index-builder.cjs 实现推送时自动构建 Petpet Data

自动解压模板

依赖 Github Action 运行 node unzip.cjs 实现推送时自动解压 /unzip 目录文件并移动至 /data

标准

详见 Petpet 项目

index.json

用于静态索引所需资源

参数 类型 描述
version float 标准版本号
dataPath string 资源路径
dataList string[] 模板索引
fontList string[] 字体索引

index.map.json

提供模板基本信息 (可选)

参数 类型 描述
length int 模板资源数量
alias string[] 别名
type enum 模板类型 (IMGGIF)

实现

构建脚本

配置文件 config.json

参数 类型 描述
path int 资源路径
targetVersion float 标准版本
buildIndexMap boolean 构建 index.map.json

petpet-data's People

Contributors

dituon avatar

Watchers

 avatar

Forkers

17lingshan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.