Skip to content

Commit

Permalink
feat: superstatic
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <[email protected]>
  • Loading branch information
Dup4 committed May 31, 2023
1 parent 68c5102 commit 1a9fa1c
Show file tree
Hide file tree
Showing 6 changed files with 1,522 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

## Tutorial

### Start

```bash
pnpm install
pnpm run start
```

### Operation

不停按方向键右即可。
Expand Down Expand Up @@ -89,6 +96,6 @@ exported_data:
然后将 output/1 目录下的 resolver.json 中的内容,粘贴到下图中的输入框中,然后点击「加载数据」,记得先点一下「清空缓存」。
![](./screenshots/resolver_domjudge_tutorial.png)
![](./screenshots/resolver_tutorial_domjudge.png)
如果不想自己搭建 http 服务器来跑 acm-resolver,可以直接使用 <https://acm-resolver.xcpcio.com/>。
1 change: 1 addition & 0 deletions data/2023_zjcpc_warmup_resolver.json

Large diffs are not rendered by default.

24 changes: 15 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{
"name": "acm-resolver",
"version": "1.0.0",
"description": "**[\\[中文文档\\]](README.md)**",
"main": "hiho-resolver.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT"
"name": "acm-resolver",
"description": "acm resolver",
"license": "MIT",
"version": "1.0.0",
"packageManager": "[email protected]",
"engines": {
"node": ">=16.11.0"
},
"scripts": {
"start": "superstatic serve . --port 8080"
},
"devDependencies": {
"pnpm": "^8.6.0",
"superstatic": "^9.0.3"
}
}
Loading

0 comments on commit 1a9fa1c

Please sign in to comment.