Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "viewflare",
"version": "3.0.1",
"description": "Ultra-lightweight serverless telemetry system for headless project tracking. Optimized for minimal Cloudflare costs.",
"main": "functions/index.ts",
"scripts": {
"dev": "npm run build:worker && wrangler dev",
"deploy": "wrangler deploy",
"setup": "node scripts/setup.mjs",
"prepare": "node scripts/prepare.mjs",
"build": "npm run build:worker && tsc",
"build:worker": "esbuild functions/index.ts --bundle --format=esm --outfile=public/_worker.js --platform=neutral --conditions=worker --minify",
"type-check": "tsc --noEmit",
"db:create": "wrangler d1 create viewflare-db",
"db:init": "wrangler d1 execute viewflare-db --remote --file=./schema.sql",
"db:migrate": "wrangler d1 migrations apply viewflare-db --remote",
"test": "echo \"Error: no test specified\" && exit 1",
"test:newman": "newman run ./postman/ViewFlare.postman_collection.json -e ./postman/ViewFlare.postman_environment.json --bail --reporters cli,json --reporter-json-export ./postman/newman-report.json",
"test:newman:ci": "newman run ./postman/ViewFlare.postman_collection.json -e ./postman/ViewFlare.postman_environment.json --bail --reporters cli,junit --reporter-junit-export ./postman/newman-junit.xml",
"lint": "tsc --noEmit",
"clean": "rm -rf dist node_modules/.cache"
},
"keywords": [
"telemetry",
"analytics",
"cloudflare",
"counter"
],
"author": "VKrishna04 <https://github.com/VKrishna04>",
"license": "Apache-2.0",
"type": "module",
"homepage": "https://vkrishna04.github.io",
"repository": {
"type": "git",
"url": "https://github.com/Life-Experimentalist/ViewFlare"
},
"bugs": {
"url": "https://github.com/Life-Experimentalist/ViewFlare/issues"
},
"dependencies": {
"hono": "^4.13.7",
"playwright": "^1.61.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250826.0",
"esbuild": "^0.27.0",
"newman": "^5.0.0",
"typescript": "^5.9.2",
"wrangler": "^4.46.0"
},
"documentation": {
"integration": "./INTEGRATION.md",
"readme": "./README.md",
"postman": "./postman/ViewFlare.postman_collection.json",
"changelog": "./.github/CHANGELOG.md",
"license": "./LICENSE.md",
"contributing": "./.github/CONTRIBUTING.md",
"documentation": "./docs/README.md"
}
}