mirror of
https://github.com/rikkaneko/paste.git
synced 2025-09-21 20:30:11 +01:00
Refactor the whole project
Use itty-router over manual routing Extract resuable code into modules Update copyright notice Remove path to paste v1 homepage Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
9c336e4961
commit
3de4fa14ed
7 changed files with 757 additions and 696 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{
|
||||
"name": "paste",
|
||||
"version": "1.3.1",
|
||||
"version": "1.4",
|
||||
"license": "LGPL-3.0-or-later",
|
||||
"scripts": {
|
||||
"dev": "wrangler dev",
|
||||
"publish": "wrangler deploy",
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint . --color --cache -f friendly --max-warnings 10"
|
||||
|
|
@ -9,6 +11,7 @@
|
|||
"dependencies": {
|
||||
"aws4fetch": "^1.0.17",
|
||||
"dedent-js": "^1.0.1",
|
||||
"itty-router": "^4.0.23",
|
||||
"js-sha256": "^0.10.1",
|
||||
"nanoid": "^5.0.2"
|
||||
},
|
||||
|
|
@ -24,4 +27,4 @@
|
|||
"typescript": "^5.2.2",
|
||||
"wrangler": "^3.15.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue