-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 7.22 KB
/
package.json
File metadata and controls
148 lines (148 loc) · 7.22 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "@roastcodes/ttdash",
"version": "6.3.5",
"description": "Local-first dashboard and CLI for toktrack usage data",
"main": "server.js",
"repository": {
"type": "git",
"url": "git+https://github.com/roastcodes/ttdash.git"
},
"homepage": "https://github.com/roastcodes/ttdash#readme",
"bugs": {
"url": "https://github.com/roastcodes/ttdash/issues"
},
"bin": {
"ttdash": "server.js"
},
"scripts": {
"dev": "vite",
"build:app": "vite build",
"build": "npm run format:check && npm run lint && npm run build:app",
"check": "npm run test:static",
"check:deps": "dependency-cruiser --config .dependency-cruiser.cjs src shared server server.js usage-normalizer.js",
"format": "prettier . --write --cache --cache-location .cache/prettier/write --cache-strategy content",
"format:check": "prettier . --check --cache --cache-location .cache/prettier/check --cache-strategy content",
"lint": "eslint . --cache --cache-location .cache/eslint/full --cache-strategy content",
"lint:docstrings": "eslint src server.js usage-normalizer.js shared --ext .ts,.tsx,.js,.d.ts --cache --cache-location .cache/eslint/docstrings --cache-strategy content",
"lint:fix": "eslint . --fix --cache --cache-location .cache/eslint/full --cache-strategy content",
"preview": "vite preview",
"start": "node server.js",
"start:test-server": "node scripts/start-test-server.js",
"test": "npm run test:vitest",
"test:architecture": "vitest run --project architecture --reporter=default --reporter=junit --outputFile.junit=./test-results/vitest-architecture.junit.xml",
"test:static": "npm run format:check && npm run lint && npm run check:deps && npm run typecheck",
"test:unit": "vitest run --project unit --project frontend --project integration --project integration-background --reporter=default --reporter=junit --outputFile.junit=./test-results/vitest-main.junit.xml",
"test:unit:watch": "vitest --project unit --project frontend --project integration --project integration-background",
"test:vitest": "npm run test:architecture && npm run test:unit",
"test:vitest:architecture": "npm run test:architecture",
"test:vitest:coverage": "npm run test:unit:coverage",
"test:vitest:unit": "vitest run --project unit --reporter=default --reporter=junit --outputFile.junit=./test-results/vitest-unit.junit.xml",
"test:vitest:frontend": "vitest run --project frontend --reporter=default --reporter=junit --outputFile.junit=./test-results/vitest-frontend.junit.xml",
"test:vitest:integration": "vitest run --project integration --reporter=default --reporter=junit --outputFile.junit=./test-results/vitest-integration.junit.xml",
"test:vitest:integration-background": "vitest run --project integration-background --reporter=default --reporter=junit --outputFile.junit=./test-results/vitest-integration-background.junit.xml",
"test:unit:coverage": "vitest run --coverage --project unit --project frontend --project integration --project integration-background --reporter=dot --reporter=junit --outputFile.junit=./test-results/vitest-coverage.junit.xml",
"test:timings": "vitest run --project unit --project frontend --project integration --project integration-background --reporter=dot --reporter=junit --outputFile.junit=./test-results/vitest-timings.junit.xml && node scripts/report-test-timings.js ./test-results/vitest-timings.junit.xml",
"test:timings:budget": "vitest run --project unit --project frontend --project integration --project integration-background --reporter=dot --reporter=junit --outputFile.junit=./test-results/vitest-timing-budget.junit.xml && node scripts/report-test-timings.js ./test-results/vitest-timing-budget.junit.xml --max-suite-seconds=20 --max-test-seconds=12",
"test:timings:projects": "node scripts/run-vitest-project-timings.js",
"test:timings:benchmark": "node scripts/run-vitest-project-timings.js --repeat=3",
"test:e2e": "npm run test:e2e:parallel",
"test:e2e:parallel": "npm run build:app && playwright test",
"test:e2e:ci": "playwright test --workers=2",
"test:all": "npm run verify:full",
"typecheck": "tsc --noEmit --incremental --tsBuildInfoFile .cache/tsc/tsconfig.tsbuildinfo",
"docs:screenshots": "node scripts/capture-readme-screenshots.js",
"deps:graph": "dependency-cruiser --config .dependency-cruiser.cjs -T archi src shared server server.js usage-normalizer.js",
"pack:dry-run": "npm pack --dry-run",
"verify": "npm run test:static && npm run test:vitest && npm run build:app && npm run verify:package",
"verify:package": "node scripts/verify-package.js",
"verify:registry-install": "node scripts/verify-registry-install.js",
"verify:release": "npm run test:static && npm run test:architecture && npm run test:vitest:coverage && npm run build:app && npm run verify:package",
"verify:ci": "npm run verify:release && npm run test:e2e:ci",
"verify:full": "npm run verify:ci",
"verify:parallel": "node scripts/run-parallel-gate.js",
"verify:full:parallel": "node scripts/run-parallel-gate.js --e2e",
"prepare": "npm run build:app"
},
"files": [
"server.js",
"usage-normalizer.js",
"server/",
"shared/",
"shared/locales/",
"dist/"
],
"keywords": [
"toktrack",
"cli",
"dashboard",
"local-first",
"npx",
"bunx",
"reporting",
"usage",
"tokens"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@playwright/test": "^1.59.1",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-select": "^2.2.2",
"@radix-ui/react-slot": "^1.2.0",
"@radix-ui/react-toast": "^1.2.14",
"@radix-ui/react-tooltip": "^1.2.3",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.99.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^4.1.4",
"archunit": "^2.1.69",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dependency-cruiser": "^17.3.10",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-boundaries": "^6.0.2",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-jsdoc": "^63.0.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-playwright": "^2.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-testing-library": "^7.16.2",
"framer-motion": "^12.6.5",
"globals": "^17.5.0",
"jsdom": "^29.0.2",
"lucide-react": "^1.8.0",
"prettier": "^3.8.3",
"prettier-plugin-tailwindcss": "^0.8.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"recharts": "^3.8.1",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^4.1.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0",
"vite": "^8.0.9",
"vitest": "^4.1.4"
},
"dependencies": {
"cross-spawn": "^7.0.6",
"i18next": "^26.0.6",
"react-i18next": "^17.0.4",
"react-is": "^19.2.5",
"toktrack": "2.7.4"
}
}