GithubHelp home page GithubHelp logo

buryingpoint's Introduction

BuryingPoint

采用代码埋点的数据埋点工具

安装依赖模块

npm install

目录说明

  • ./lib 数据埋点工具目录
  • ./public 模版目录
  • ./server 服务端源码
  • ./src 数据埋点工具源码

脚本命令说明

package.json中已有script说明如下

开发中编译

npm run dev

启动web服务器

npm run client

开启web服务器,localhost:8000

可访问 http://loacalhost:8000/

编译

npm run build

该脚本会使用webpack检查代码并打包项目,生成的文件在./lib目录中

本地服务器

npm run server

启动node服务器,并创建SQLite3数据库

代码提交

npm run commit

该脚本会生成commit模版,避免直接使用git commit校验失败

commit message格式

Header

type:用于说明commit的类型

type 描述
feat 新功能
fix 修补bug
docs 文档
style 格式(不影响代码运行的变动)
refactor 重构(既不是新增功能,也不是修改bug的代码变动)
test 增加测试
chore 构建过程或辅助工具的变动
revert 回滚到上一个版本

注:revert比较特殊,如果当前commit用于撤销以前的commit,则必须以revert:开头,后面跟着被撤销commit的Header

scope:可以省略,用于说明commit的影响范围,比如数据层、控制层、视图层等

subject:是commit的简短描述,不超过50个字符

Body

是commit的详细描述,可省略

Footer

用于不兼容变动或关闭issue

BREAKING CHANGE:当前代码与上个版本不兼容,Footer部分以BREAKING CHANGE开头,后面是对变动的描述、变动的理由以及迁移的方法

Closes:针对某个issue,可以在Footer部分关闭这个issue,比如Closes #233

buryingpoint's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.