Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 464 Bytes

build.md

File metadata and controls

39 lines (26 loc) · 464 Bytes
title
构建

开发、自行构建

前置要求

  • yarn
  • Node.js

步骤

  1. 把这个仓库 clone 到本地。
  2. 运行如下命令:

该指令安装项目依赖。

yarn

该指令生成一个 minify 后的 build/extend-luogu.user.js。

yarn build

该指令运行 eslint。

yarn lint

该指令生成一个 bundle 后的 build/extend-luogu.user.js,便于调试。

yarn run test