worker-links/package.json
infra 1bef54163c
Simple web UI for shortlink creation (#15)
* add HTML interface (inlined into typescript) - with CSS and autocomplete hand-holding

* Some changes (listed below)

- Make UI optional and disabled by default
- Lint it in line with other code
- Import UI from a bundled HTML file
- Add UI to README
- Add support for random URL generation
- Show the URL in the output

---------

Co-authored-by: Erisa A <erisa@erisa.uk>
2023-04-30 01:43:20 +01:00

23 lines
602 B
JSON

{
"name": "worker-links",
"version": "2.1.0",
"description": "Simple link shortener for Cloudflare Workers.",
"author": "Erisa A",
"license": "MIT",
"scripts": {
"format": "prettier --write '**/*.{ts,js,css,json,md,html}'",
"deploy": "wrangler publish",
"dev": "wrangler dev",
"addsecret": "wrangler secret put WORKERLINKS_SECRET",
"build": "wrangler publish --dry-run --outdir=./dist"
},
"dependencies": {
"hono": "^3.0.2",
"simple-runtypes": "^7.1.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230228.0",
"prettier": "^2.8.4",
"wrangler": "^2.12.0"
}
}