Giter Site home page Giter Site logo

baiducdnstatic's Introduction

Baidu Open CDN Service

提交一个库

Step 1

需要了解Github开源库目录的结构,新的库需要在libs下新建库目录及其版本目录,并将文件放在相应目录下,最后补全package.json文件。

  ├── backbone.js               # ... library
  │   ├── 1.1.0                 # ... version
  │   |   └── backbone.js       # ... fileanme
  │   └── 1.1.1
  │       └── backbone.js
  └── package.json              # ... package.json

####Step 2

编辑package.json描述文件,这个文件描述最新版本的信息。

  // 项目名必须与文件夹名一致
  {
    "name": "项目名",
    "filename": "主文件名,比如 abc.js",
    "version": "1.0",
    "description": "项目简介",
    "homepage": "项目主页/网站地址",
    "keywords": ["关键字1", "关键字2", "关键字3"],
    "maintainers": [
  	{
  	  "name": "作者/维护者",
  	  "web": "作者/维护者个人主页",
  	  "mail": "作者/维护者邮件"
  	}
    ],
    "repositories": [
  	{
  	  "type": "git",
  	  "url": "开源库地址"
  	}
    ]
  }

Step 3

提Pull Request。(请务必注意package.json中项目名name必须与文件夹名一致)

Notice

现在项目处于初期阶段,如果发现有库出现404,有劳直接提issue,我们会第一时间修复。
我们希望通过开源社区化运营来优化和完善这项服务,为国内前端界尽一点绵薄之力。
随时欢迎提出宝贵的意见和建议。

另请关注div.io,高质量前端社区。

baiducdnstatic's People

Contributors

huang-xin avatar hustkiwi avatar junmer avatar kener avatar newii avatar sunln avatar twz915 avatar yeaha avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cebkcn

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.